org.elkoserver.util.trace
Interface ExceptionNoticer


public interface ExceptionNoticer

Interface to be implemented by the entity that is to be notified of all exceptions reported to ExceptionManager or which are uncaught.

See Also:
ExceptionManager

Method Summary
 void noticeReportedException(String msg, Throwable t)
          Notification of a reported exception.
 void noticeUncaughtException(String msg, Throwable t)
          Notification of an uncaught exception.
 

Method Detail

noticeReportedException

void noticeReportedException(String msg,
                             Throwable t)
Notification of a reported exception.

Parameters:
msg - The message that accompanied the exception report.
t - The actual exception itself.

noticeUncaughtException

void noticeUncaughtException(String msg,
                             Throwable t)
Notification of an uncaught exception.

Parameters:
msg - Message describing the circumstances.
t - The actual exception itself.