org.apache.avalon.excalibur.logger.logkit
Class ErrorHandlerAdapter

java.lang.Object
  extended byorg.apache.avalon.excalibur.logger.logkit.ErrorHandlerAdapter
All Implemented Interfaces:
ErrorHandler

public class ErrorHandlerAdapter
extends java.lang.Object
implements ErrorHandler

This class adapts o.a.a.f.logger.Logger to the LogKit ErrorHandler interface.

Since:
4.0
Version:
CVS $Revision: 1.3 $ $Date: 2004/03/10 13:54:51 $
Author:
Avalon Development Team

Constructor Summary
ErrorHandlerAdapter(Logger reliableLogger)
           
 
Method Summary
 void error(java.lang.String message, java.lang.Throwable throwable, LogEvent event)
          Log an unrecoverable error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandlerAdapter

public ErrorHandlerAdapter(Logger reliableLogger)
Method Detail

error

public void error(java.lang.String message,
                  java.lang.Throwable throwable,
                  LogEvent event)
Description copied from interface: ErrorHandler
Log an unrecoverable error.

Specified by:
error in interface ErrorHandler
Parameters:
message - the error message
throwable - the exception associated with error (may be null)
event - the LogEvent that caused error, if any (may be null)


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.