API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.logging. ErrorManager View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ErrorManager
Implements
Subclasses
Description
public class ErrorManager
  ErrorManager objects can be attached to Handlers to process any error that occur on a Handler during Logging.
See also:   
Constructors
public ErrorManager ()
Methods
Hide/Show inherited methods
publicsynchronized void error (String msg, Exception ex, int code)
  The error method is called when a Handler failure occurs.
Fields
Hide/Show inherited fields
publicfinalstatic int CLOSE_FAILURE = "3"
CLOSE_FAILURE is used when a close of an output stream fails.
publicfinalstatic int FLUSH_FAILURE = "2"
FLUSH_FAILURE is used when a flush to an output stream fails.
publicfinalstatic int FORMAT_FAILURE = "5"
FORMAT_FAILURE is used when formatting fails for any reason.
publicfinalstatic int GENERIC_FAILURE = "0"
GENERIC_FAILURE is used for failure that don't fit into one of the other categories.
publicfinalstatic int OPEN_FAILURE = "4"
OPEN_FAILURE is used when an open of an output stream fails.
publicfinalstatic int WRITE_FAILURE = "1"
WRITE_FAILURE is used when a write to an output stream fails.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar