Class EventHandlerException

  • All Implemented Interfaces:
    Serializable

    public final class EventHandlerException
    extends Exception
    Event handling exception. This exception always has an event instance that was being processed at the time of error.
    Author:
    n.milutinovic
    See Also:
    Serialized Form
    • Constructor Detail

      • EventHandlerException

        public EventHandlerException​(String message,
                                     Event event)
        Parameters:
        message - error message.
        event - event this error refers to.
      • EventHandlerException

        public EventHandlerException​(String message,
                                     Throwable cause,
                                     Event event)
        Parameters:
        message - error message.
        cause - cause of the error.
        event - event this error refers to.
    • Method Detail

      • getEvent

        public Event getEvent()
        Returns:
        associated event.