ErrorHandler
public class DefaultErrorHandler extends java.lang.Object implements ErrorHandler
Constructor | Description |
---|---|
DefaultErrorHandler() |
Modifier and Type | Method | Description |
---|---|---|
void |
error(java.lang.String message,
java.lang.Throwable throwable,
LogEvent event) |
Log an unrecoverable error.
|
public void error(java.lang.String message, java.lang.Throwable throwable, LogEvent event)
error
in interface ErrorHandler
message
- the error messagethrowable
- the exception associated with error (may be null)event
- the LogEvent that caused error, if any (may be null)Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.