java.util.logging
Class ErrorManager
java.lang.Object
|
+--java.util.logging.ErrorManager
public class
ErrorManagerextends
Object An ErrorManager
deals with errors that a Handler
encounters while logging.
Author:- Sascha Brawer (brawer@acm.org)
See Also:
CLOSE_FAILURE
public static final int CLOSE_FAILURE
Indicates that there was a problem upon closing
an output stream.
FLUSH_FAILURE
public static final int FLUSH_FAILURE
Indicates that there was a problem upon flushing
an output stream.
FORMAT_FAILURE
public static final int FORMAT_FAILURE
Indicates that there was a problem upon formatting
the message of a log record.
GENERIC_FAILURE
public static final int GENERIC_FAILURE
Indicates that there was a failure that does not readily
fall into any of the other categories.
OPEN_FAILURE
public static final int OPEN_FAILURE
Indicates that there was a problem upon opening
an output stream.
WRITE_FAILURE
public static final int WRITE_FAILURE
Indicates that there was a problem upon writing to
an output stream.
ErrorManager
public ErrorManager()
error
public void error(java.lang.String message, java.lang.Exception ex, int errorCode)
Reports an error that occured upon logging. The default implementation
emits the very first error to System.err, ignoring subsequent errors.
Parameters:
ErrorManager
deals with errors that aHandler
encounters while logging.