public class ErrorHandlerAdapter extends Object implements ErrorHandler
| Constructor and Description |
|---|
ErrorHandlerAdapter(ErrorHandler errorHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
error(String msg) |
void |
error(String msg,
LogEvent event,
Throwable t) |
void |
error(String msg,
Throwable t) |
ErrorHandler |
getHandler() |
public ErrorHandlerAdapter(ErrorHandler errorHandler)
public ErrorHandler getHandler()
public void error(String msg)
error in interface ErrorHandlerpublic void error(String msg, Throwable t)
error in interface ErrorHandlerpublic void error(String msg, LogEvent event, Throwable t)
error in interface ErrorHandlerCopyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.