Package dk.netarkivet.common.utils
Class PrintNotifications
- java.lang.Object
-
- dk.netarkivet.common.utils.Notifications
-
- dk.netarkivet.common.utils.PrintNotifications
-
public class PrintNotifications extends Notifications
A notification implementation that prints notifications on System.err.
-
-
Constructor Summary
Constructors Constructor Description PrintNotifications()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notify(String message, NotificationType eventType, Throwable e)
Reacts to a notification by printing the notification to System.err.-
Methods inherited from class dk.netarkivet.common.utils.Notifications
notify
-
-
-
-
Method Detail
-
notify
public void notify(String message, NotificationType eventType, Throwable e)
Reacts to a notification by printing the notification to System.err.- Specified by:
notify
in classNotifications
- Parameters:
message
- The error message to print.e
- The exception to print, if not null.eventType
- The type of event
-
-