Top Description Constructors Methods
org.apache.log.util

public Class DefaultErrorHandler

extends Object
implements ErrorHandler
Class Inheritance
All Implemented Interfaces
org.apache.log.ErrorHandler
Imports
org.apache.log.ErrorHandler, .LogEvent

Handle unrecoverable errors that occur during logging by writing to standard error.
Author
Peter Donald

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
error(final String
the error message
message
,
final Throwable
the exception associated with error (may be null)
throwable
,
final LogEvent
the LogEvent that caused error, if any (may be null)
event
)

Implements org.apache.log.ErrorHandler.error.

Log an unrecoverable error.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DefaultErrorHandlerback to summary
public DefaultErrorHandler()

Method Detail

errorback to summary
public void error(final String message, final Throwable throwable, final LogEvent event)

Implements org.apache.log.ErrorHandler.error.

Log an unrecoverable error.

Parameters
message:String

the error message

throwable:Throwable

the exception associated with error (may be null)

event:LogEvent

the LogEvent that caused error, if any (may be null)