Package org.greenrobot.eventbus
Class SubscriberExceptionEvent
- java.lang.Object
-
- org.greenrobot.eventbus.SubscriberExceptionEvent
-
public final class SubscriberExceptionEvent extends java.lang.Object
This Event is posted by EventBus when an exception occurs inside a subscriber's event handling method.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Object
causingEvent
The original event that could not be delivered to any subscriber.java.lang.Object
causingSubscriber
The subscriber that threw the Throwable.EventBus
eventBus
TheEventBus
instance to with the original event was posted to.java.lang.Throwable
throwable
The Throwable thrown by a subscriber.
-
Constructor Summary
Constructors Constructor Description SubscriberExceptionEvent(EventBus eventBus, java.lang.Throwable throwable, java.lang.Object causingEvent, java.lang.Object causingSubscriber)
-
-
-
Field Detail
-
eventBus
public final EventBus eventBus
TheEventBus
instance to with the original event was posted to.
-
throwable
public final java.lang.Throwable throwable
The Throwable thrown by a subscriber.
-
causingEvent
public final java.lang.Object causingEvent
The original event that could not be delivered to any subscriber.
-
causingSubscriber
public final java.lang.Object causingSubscriber
The subscriber that threw the Throwable.
-
-
Constructor Detail
-
SubscriberExceptionEvent
public SubscriberExceptionEvent(EventBus eventBus, java.lang.Throwable throwable, java.lang.Object causingEvent, java.lang.Object causingSubscriber)
-
-