public static interface Task.UnobservedExceptionHandler
Taskis about to be finalized, but the exception has not been consumed.
The handler will execute in the GC thread, so if the handler needs to do
anything time consuming or complex it is a good idea to fire off a
to handle the exception.
|Modifier and Type||Method and Description|
Method invoked when the given task has an unobserved exception.
void unobservedException(Task<?> t, UnobservedTaskException e)
Any exception thrown by this method will be ignored.
t- the task
e- the exception