Class HandlerErrorManager
- java.lang.Object
-
- java.util.logging.ErrorManager
-
- org.jboss.logmanager.ExtErrorManager
-
- org.jboss.logmanager.errormanager.HandlerErrorManager
-
public final class HandlerErrorManager extends ExtErrorManager
An error manager which publishes errors to a handler.
-
-
Field Summary
-
Fields inherited from class java.util.logging.ErrorManager
CLOSE_FAILURE, FLUSH_FAILURE, FORMAT_FAILURE, GENERIC_FAILURE, OPEN_FAILURE, WRITE_FAILURE
-
-
Constructor Summary
Constructors Constructor Description HandlerErrorManager(Handler handler)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(String msg, Exception ex, int code)
-
Methods inherited from class org.jboss.logmanager.ExtErrorManager
errorToLogRecord, nameForCode
-
-
-
-
Constructor Detail
-
HandlerErrorManager
public HandlerErrorManager(Handler handler)
Construct a new instance.- Parameters:
handler
- the handler to set (must not benull
)
-
-
Method Detail
-
error
public void error(String msg, Exception ex, int code)
- Overrides:
error
in classExtErrorManager
-
-