public final class LoggingUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Constructor and Description |
---|
LoggingUncaughtExceptionHandler(Logger log)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
uncaughtException(Thread t,
Throwable e)
Method invoked when the given thread terminates due to the given uncaught exception.
|
public LoggingUncaughtExceptionHandler(Logger log)
log
- the logger to log the uncaught exception topublic void uncaughtException(Thread t, Throwable e)
Any exception thrown by this method will be ignored by the Java Virtual Machine.
uncaughtException
in interface Thread.UncaughtExceptionHandler
t
- the threade
- the exceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.