Top Description Methods
org.apache.log

public Interface ErrorHandler

Known Direct Implementers
org.apache.log.Hierarchy.InnerErrorHandler, org.apache.log.util.DefaultErrorHandler

Handle unrecoverable errors that occur during logging. Based on Log4js notion of ErrorHandlers.
Author
Peter Donald

Method Summary

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

Log an unrecoverable error.

Method Detail

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

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)