protected static class Engine.ThrowableReferenceHandler extends AtomicReference<Throwable> implements Thread.UncaughtExceptionHandler
AtomicReference
that doubles as an Thread.UncaughtExceptionHandler
. It is set whenever an
uncaught Throwable
occurs.Modifier | Constructor and Description |
---|---|
protected |
Engine.ThrowableReferenceHandler()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
uncaughtException(Thread thread,
Throwable throwable)
Sets this reference.
|
compareAndSet, get, getAndSet, lazySet, set, toString, weakCompareAndSet
protected Engine.ThrowableReferenceHandler()
public void uncaughtException(Thread thread, Throwable throwable)
uncaughtException
in interface Thread.UncaughtExceptionHandler