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
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 errorerror - 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 messageoriginalError - the error that could not be logged, or null if
no error was specified