|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.acelogger.execution.UncaughtExceptionLogger
public final class UncaughtExceptionLogger
An implementation of Thread.UncaughtExceptionHandler
that logs the exception using the internal
logger.
Method Summary | |
---|---|
static UncaughtExceptionLogger |
getInstance()
Returns an instance of UncaughtExceptionLogger , which is a singleton. |
void |
uncaughtException(Thread threadOfOrigin,
Throwable uncaughtException)
Logs any uncaught exceptions using the internal logger. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void uncaughtException(Thread threadOfOrigin, Throwable uncaughtException)
uncaughtException
in interface Thread.UncaughtExceptionHandler
threadOfOrigin
- The thread where the uncaught exception was thrown.uncaughtException
- The exception itself.public static UncaughtExceptionLogger getInstance()
UncaughtExceptionLogger
, which is a singleton.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |