com.bea.logging
Class LogErrorManager
java.lang.Object
java.util.logging.ErrorManager
com.bea.logging.LogErrorManager
Deprecated. 10.0.1.0
public class LogErrorManager
- extends ErrorManager
An ErrorManager that handles errors by removing the failing handler from
the logger and logging a WLLevel.CRITICAL message. The error manager has a
tolerance limit of 5 exceptions that may be reported by the handlers.
If the errors exceed this limit, the handler is removed from the Logger.
When the handler is removed it no longer gets the publish messages.
Constructor Summary |
LogErrorManager(Handler handler)
Deprecated. Initialize this instance with the associated handler. |
Method Summary |
void |
error(String msg,
Exception ex,
int code)
Deprecated. Callback method to inform the manager of an error condition in the Handler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogErrorManager
public LogErrorManager(Handler handler)
- Deprecated.
- Initialize this instance with the associated handler.
- Parameters:
handler
- The handler who will report exceptions as it is logging.
error
public void error(String msg,
Exception ex,
int code)
- Deprecated.
- Callback method to inform the manager of an error condition in the Handler.
- Overrides:
error
in class ErrorManager
- Parameters:
msg
- Message indicating the details about the error condition.ex
- The exception which is causing the error condition.code
- Numeric identifier which tells the type of error being reported.