Package com.oorian.html.js.notification
Class NotificationErrorEvent
java.lang.Object
com.oorian.messaging.events.Event<NotificationListener>
com.oorian.messaging.events.client.ClientEvent<NotificationListener>
com.oorian.html.js.notification.NotificationErrorEvent
Event fired when a notification fails to show.
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatchTo(NotificationListener listener) Dispatches this event to the specified listener.Returns the error message.toString()Methods inherited from class com.oorian.messaging.events.client.ClientEvent
getSource, getTarget, setSource, setTarget
-
Constructor Details
-
NotificationErrorEvent
Constructs a NotificationErrorEvent.- Parameters:
message- The error message.
-
-
Method Details
-
getMessage
Returns the error message.- Returns:
- The error message.
-
dispatchTo
Description copied from class:EventDispatches this event to the specified listener.Subclasses implement this method to call the appropriate handler method on the listener interface.
- Specified by:
dispatchToin classEvent<NotificationListener>- Parameters:
listener- the listener to dispatch this event to
-
toString
-