Class 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
      The EventBus 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)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • eventBus

        public final EventBus eventBus
        The EventBus 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)