com.sun.idm.logging
Interface LoggingErrorHandler


public interface LoggingErrorHandler

A LoggingErrorHandler is used for notification of exceptions which occur during the publishing of a record. The advantage of using a handler is that we can handle exceptions asynchronously (useful when dealing with an AsynchronousPublisher).


Field Summary
static java.lang.String code_id
           
 
Method Summary
 void handleError(java.util.Map record, com.sun.idm.logging.LoggingException ex)
          Handle an exception which occurred during the publishing of a log record.
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Method Detail

handleError

public void handleError(java.util.Map record,
                        com.sun.idm.logging.LoggingException ex)
Handle an exception which occurred during the publishing of a log record.

Parameters:
record - - the record which was being published.
ex - - the exception which occurred.