public class DefaultErrorHandler extends Object implements ErrorHandler
Constructor and Description |
---|
DefaultErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
error(String message,
Throwable throwable,
LogEvent event)
Log an unrecoverable error.
|
public void error(String message, 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 © 1997–2016. All rights reserved.