dk.netarkivet.common.utils
Class PrintNotifications

java.lang.Object
  extended by dk.netarkivet.common.utils.Notifications
      extended by dk.netarkivet.common.utils.PrintNotifications

public class PrintNotifications
extends Notifications

A notification implementation that prints notifications on System.err


Constructor Summary
PrintNotifications()
           
 
Method Summary
 void errorEvent(java.lang.String message, java.lang.Throwable e)
          Reacts to a notification by printing the notifiaction to System.err.
 
Methods inherited from class dk.netarkivet.common.utils.Notifications
errorEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintNotifications

public PrintNotifications()
Method Detail

errorEvent

public void errorEvent(java.lang.String message,
                       java.lang.Throwable e)
Reacts to a notification by printing the notifiaction to System.err.

Specified by:
errorEvent in class Notifications
Parameters:
message - The error message to print.
e - The exception to print, if not null.