|
Log4j 1.3alpha-8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.varia.FallbackErrorHandler
ErrorHandler
and its implementations are no longer
utilized by Log4j. The ErrorHandler
interface and any
implementations of it are only here to provide binary runtime
compatibility with versions previous to 1.3, most specifically
1.2.xx versions. All methods are NOP's.
Constructor Summary | |
FallbackErrorHandler()
Deprecated. |
Method Summary | |
void |
activateOptions()
Deprecated. Activate the options that were previously set with calls to option setters. |
void |
error(String message)
Deprecated. |
void |
error(String message,
Exception e,
int errorCode)
Deprecated. |
void |
error(String message,
Exception e,
int errorCode,
LoggingEvent event)
Deprecated. |
void |
setAppender(Appender appender)
Deprecated. |
void |
setBackupAppender(Appender appender)
Deprecated. |
void |
setLogger(Logger logger)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FallbackErrorHandler()
Method Detail |
public void setLogger(Logger logger)
setLogger
in interface ErrorHandler
public void activateOptions()
OptionHandler
This allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambigous until all are set.
For example, the FileAppender has the File
and Append
options both of
which are ambigous until the other is also set.
activateOptions
in interface OptionHandler
public void error(String message, Exception e, int errorCode)
error
in interface ErrorHandler
public void error(String message, Exception e, int errorCode, LoggingEvent event)
error
in interface ErrorHandler
public void error(String message)
error
in interface ErrorHandler
public void setAppender(Appender appender)
setAppender
in interface ErrorHandler
public void setBackupAppender(Appender appender)
setBackupAppender
in interface ErrorHandler
|
Log4j 1.3alpha-8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |