java.util.logging
Class FileHandler.InitializationErrorManager

java.lang.Object
  extended byjava.util.logging.ErrorManager
      extended byjava.util.logging.FileHandler.InitializationErrorManager
Enclosing class:
FileHandler

private static class FileHandler.InitializationErrorManager
extends ErrorManager


Field Summary
(package private)  Exception lastException
           
 
Fields inherited from class java.util.logging.ErrorManager
CLOSE_FAILURE, FLUSH_FAILURE, FORMAT_FAILURE, GENERIC_FAILURE, OPEN_FAILURE, WRITE_FAILURE
 
Constructor Summary
private FileHandler.InitializationErrorManager()
           
 
Method Summary
 void error(String msg, Exception ex, int code)
          The error method is called when a Handler failure occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastException

Exception lastException
Constructor Detail

FileHandler.InitializationErrorManager

private FileHandler.InitializationErrorManager()
Method Detail

error

public void error(String msg,
                  Exception ex,
                  int code)
Description copied from class: ErrorManager
The error method is called when a Handler failure occurs.

This method may be overriden in subclasses. The default behavior in this base class is that the first call is reported to System.err, and subsequent calls are ignored.

Overrides:
error in class ErrorManager
Parameters:
msg - a descriptive string (may be null)
ex - an exception (may be null)
code - an error code defined in ErrorManager