Class SubscriberExceptionContext

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getEvent()
      Returns the event object that caused the subscriber to throw.
      EventBus getEventBus()
      Returns the EventBus that handled the event and the subscriber.
      java.lang.Object getSubscriber()
      Returns the object context that the subscriber was called on.
      java.lang.reflect.Method getSubscriberMethod()
      Returns the subscribed method that threw the exception.
      • Methods inherited from class java.lang.Object

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

      • getEventBus

        public EventBus getEventBus()
        Returns the EventBus that handled the event and the subscriber. Useful for broadcasting a new event based on the error.
      • getEvent

        public java.lang.Object getEvent()
        Returns the event object that caused the subscriber to throw.
      • getSubscriber

        public java.lang.Object getSubscriber()
        Returns the object context that the subscriber was called on.
      • getSubscriberMethod

        public java.lang.reflect.Method getSubscriberMethod()
        Returns the subscribed method that threw the exception.