public class CoreExceptionsHandler extends FHandler implements UncaughtExceptionListener
FHandler.AgentStartType| Constructor and Description |
|---|
CoreExceptionsHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
The method is called by SNMP agent when it's initialized.
|
void |
registerMib(BaseMib mb) |
void |
reportException(java.lang.String comment,
java.lang.Throwable e)
Adds exception to the list
|
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
Invoked from
UncaughtExceptionHandler
when an uncaught exception is discovered. |
getTimestampNow, isIntegerEqual, setAgent, shutdown, start, stoppublic void init()
init in class FHandlerFHandler.init()public void registerMib(BaseMib mb) throws FException
registerMib in class FHandlerFExceptionpublic void reportException(java.lang.String comment,
java.lang.Throwable e)
comment - exception commente - exceptionpublic void uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
UncaughtExceptionHandler
when an uncaught exception is discovered.uncaughtException in interface UncaughtExceptionListenert - thread were exception was discoverede - exceptionUncaughtExceptionListener.uncaughtException(java.lang.Thread, java.lang.Throwable)