ErrorHandler (LogKit API)
Keywords: org.apache.log.ErrorHandler,ErrorHandler interface

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.log
Interface ErrorHandler

All Known Implementing Classes:
  DefaultErrorHandler

public interface ErrorHandler

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

Author:
  Peter Donald

Method Summary
`void` | `error(String message, Throwable throwable, LogEvent event)` Log an unrecoverable error.

Method Detail

### error

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

  Log an unrecoverable error.

  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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001 Apache Jakarta Project. All Rights Reserved.