public class PrintNotifications extends Notifications
Constructor and Description |
---|
PrintNotifications() |
Modifier and Type | Method and Description |
---|---|
void |
notify(String message,
NotificationType eventType,
Throwable e)
Reacts to a notification by printing the notification to System.err.
|
notify
public PrintNotifications()
public void notify(String message, NotificationType eventType, Throwable e)
notify
in class Notifications
message
- The error message to print.e
- The exception to print, if not null.eventType
- The type of eventCopyright © 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.