|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.ErrorManager
weblogic.logging.WLErrorManager
public class WLErrorManager
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.
Field Summary |
---|
Fields inherited from class java.util.logging.ErrorManager |
---|
CLOSE_FAILURE, FLUSH_FAILURE, FORMAT_FAILURE, GENERIC_FAILURE, OPEN_FAILURE, WRITE_FAILURE |
Constructor Summary | |
---|---|
WLErrorManager(Handler handler)
Initialize this instance with the associated handler. |
Method Summary | |
---|---|
void |
error(String msg,
Exception ex,
int code)
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 |
Constructor Detail |
---|
public WLErrorManager(Handler handler)
handler
- The handler who will report exceptions as it is logging.Method Detail |
---|
public void error(String msg, Exception ex, int code)
error
in class ErrorManager
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.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111 Copyright 1996,2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |