public static interface Strand.UncaughtExceptionHandler
Strand abruptly terminates due to an uncaught exception.
When a fiber is about to terminate due to an uncaught exception,
the Java Virtual Machine will query the fiber for its
UncaughtExceptionHandler using
Strand.getUncaughtExceptionHandler() and will invoke the handler's
uncaughtException method, passing the fiber and the
exception as arguments.
| Modifier and Type | Method and Description |
|---|---|
void |
uncaughtException(Strand f,
java.lang.Throwable e)
Method invoked when the given fiber terminates due to the given uncaught exception.
|
void uncaughtException(Strand f, java.lang.Throwable e)
Any exception thrown by this method will be ignored.
f - the fibere - the exception