public abstract class Notifications extends Object
Constructor and Description |
---|
Notifications() |
Modifier and Type | Method and Description |
---|---|
void |
notify(String message,
NotificationType eventType)
Notify about an event.
|
abstract void |
notify(String message,
NotificationType eventType,
Throwable e)
Notifies about an event including an exception.
|
public Notifications()
public void notify(String message, NotificationType eventType)
notify(String, NotificationType, Throwable)
with null
as the second parameter.message
- The error message to notify about.public abstract void notify(String message, NotificationType eventType, Throwable e)
message
- The message to notify about.eventType
- The type of evente
- An exception related to the event, if not the event itself May be null for no exception.Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.