Class NotificationErrorEvent


public class NotificationErrorEvent extends ClientEvent<NotificationListener>
Event fired when a notification fails to show.
Author:
Marvin P. Warble Jr.
See Also:
  • Constructor Details

    • NotificationErrorEvent

      public NotificationErrorEvent(String message)
      Constructs a NotificationErrorEvent.
      Parameters:
      message - The error message.
  • Method Details

    • getMessage

      public String getMessage()
      Returns the error message.
      Returns:
      The error message.
    • dispatchTo

      public void dispatchTo(NotificationListener listener)
      Description copied from class: Event
      Dispatches this event to the specified listener.

      Subclasses implement this method to call the appropriate handler method on the listener interface.

      Specified by:
      dispatchTo in class Event<NotificationListener>
      Parameters:
      listener - the listener to dispatch this event to
    • toString

      public String toString()
      Overrides:
      toString in class Object