Liking cljdoc? Tell your friends :D

jdk.util.logging.ErrorManager

ErrorManager objects can be attached to Handlers to process any error that occurs on a Handler during Logging.

When processing logging output, if a Handler encounters problems then rather than throwing an Exception back to the issuer of the logging call (who is unlikely to be interested) the Handler should call its associated ErrorManager.

ErrorManager objects can be attached to Handlers to process
any error that occurs on a Handler during Logging.

When processing logging output, if a Handler encounters problems
then rather than throwing an Exception back to the issuer of
the logging call (who is unlikely to be interested) the Handler
should call its associated ErrorManager.
raw docstring

*-close-failureclj

Static Constant.

CLOSE_FAILURE is used when a close of an output stream fails.

type: int

Static Constant.

CLOSE_FAILURE is used when a close of an output stream fails.

type: int
raw docstring

*-flush-failureclj

Static Constant.

FLUSH_FAILURE is used when a flush to an output stream fails.

type: int

Static Constant.

FLUSH_FAILURE is used when a flush to an output stream fails.

type: int
raw docstring

*-format-failureclj

Static Constant.

FORMAT_FAILURE is used when formatting fails for any reason.

type: int

Static Constant.

FORMAT_FAILURE is used when formatting fails for any reason.

type: int
raw docstring

*-generic-failureclj

Static Constant.

GENERIC_FAILURE is used for failure that don't fit into one of the other categories.

type: int

Static Constant.

GENERIC_FAILURE is used for failure that don't fit
 into one of the other categories.

type: int
raw docstring

*-open-failureclj

Static Constant.

OPEN_FAILURE is used when an open of an output stream fails.

type: int

Static Constant.

OPEN_FAILURE is used when an open of an output stream fails.

type: int
raw docstring

*-write-failureclj

Static Constant.

WRITE_FAILURE is used when a write to an output stream fails.

type: int

Static Constant.

WRITE_FAILURE is used when a write to an output stream fails.

type: int
raw docstring

->error-managerclj

(->error-manager)

Constructor.

Constructor.
raw docstring

errorclj

(error this msg ex code)

The error method is called when a Handler failure occurs.

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

msg - a descriptive string (may be null) - java.lang.String ex - an exception (may be null) - java.lang.Exception code - an error code defined in ErrorManager - int

The error method is called when a Handler failure occurs.

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

msg - a descriptive string (may be null) - `java.lang.String`
ex - an exception (may be null) - `java.lang.Exception`
code - an error code defined in ErrorManager - `int`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close