Log4j 1.3alpha-8

org.apache.log4j.varia
Class FallbackErrorHandler

java.lang.Object
  |
  +--org.apache.log4j.varia.FallbackErrorHandler
All Implemented Interfaces:
ErrorHandler, OptionHandler

Deprecated. As of 1.3

public class FallbackErrorHandler
extends Object
implements ErrorHandler

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.

Author:
Ceki Gülcü

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

FallbackErrorHandler

public FallbackErrorHandler()
Deprecated. 
Method Detail

setLogger

public void setLogger(Logger logger)
Deprecated. 
Specified by:
setLogger in interface ErrorHandler

activateOptions

public void activateOptions()
Deprecated. 
Description copied from interface: OptionHandler
Activate the options that were previously set with calls to option setters.

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.

Specified by:
activateOptions in interface OptionHandler

error

public void error(String message,
                  Exception e,
                  int errorCode)
Deprecated. 
Specified by:
error in interface ErrorHandler

error

public void error(String message,
                  Exception e,
                  int errorCode,
                  LoggingEvent event)
Deprecated. 
Specified by:
error in interface ErrorHandler

error

public void error(String message)
Deprecated. 
Specified by:
error in interface ErrorHandler

setAppender

public void setAppender(Appender appender)
Deprecated. 
Specified by:
setAppender in interface ErrorHandler

setBackupAppender

public void setBackupAppender(Appender appender)
Deprecated. 
Specified by:
setBackupAppender in interface ErrorHandler

Log4j 1.3alpha-8

Copyright © 2000-2006 Apache Software Foundation.
Licensed under the Apache License, Version 2.0.