Android SDK Version
Enclosing class:

public static interface Task.UnobservedExceptionHandler
Interface for handlers invoked when a failed Task is 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 Task to handle the exception.
Method Summary
Modifier and TypeMethod and Description
voidunobservedException(Task<?> t, UnobservedTaskException e)
Method invoked when the given task has an unobserved exception.
Method Detail

unobservedException

void unobservedException(Task<?> t,
                         UnobservedTaskException e)
Method invoked when the given task has an unobserved exception.
Any exception thrown by this method will be ignored.
Parameters:
t - the task
e - the exception