Top Description Constructors Methods
org.jboss.logmanager.errormanager

public Class SimpleErrorManager

extends ExtErrorManager
Class Inheritance
Imports
org.jboss.logmanager.ExtErrorManager, .StandardOutputStreams

An error manager which simply prints a message the system error stream.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
error(final String
a descriptive string (may be null)
msg
,
final Exception
an exception (may be null)
ex
,
final int
an error code defined in ErrorManager
code
)

Overrides org.jboss.logmanager.ExtErrorManager.error.

The error method is called when a Handler failure occurs.

Inherited from org.jboss.logmanager.ExtErrorManager:
errorToLogRecordnameForCode

Constructor Detail

SimpleErrorManagerback to summary
public SimpleErrorManager()

Method Detail

errorback to summary
public void error(final String msg, final Exception ex, final int code)

Overrides org.jboss.logmanager.ExtErrorManager.error.

Doc from java.util.logging.ErrorManager.error.

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.

Parameters
msg:String

a descriptive string (may be null)

ex:Exception

an exception (may be null)

code:int

an error code defined in ErrorManager