net.sf.wraplog
Interface LoggingErrorHandler

All Known Implementing Classes:
DefaultLoggingErrorHandler

public interface LoggingErrorHandler

Interface to handle errors during logging a message.

Since:
1.2
Author:
Thomas Aglassinger
See Also:
LoggingException

Method Summary
 void handleLoggingError(String errorMessage, Throwable error, String originalMessage, Throwable originalError)
          Handle error that prevented a message from being logged.
 

Method Detail

handleLoggingError

public void handleLoggingError(String errorMessage,
                               Throwable error,
                               String originalMessage,
                               Throwable originalError)
Handle error that prevented a message from being logged.

Parameters:
errorMessage - English message describing the error
error - optional Throwable to give further details about the error that prevented the message from being logged; can be null.
originalMessage - the message that could not be logged, or null if there is no message
originalError - the error that could not be logged, or null if no error was specified