Class for handling thrown exceptions during an asynchronous execution of this library. More...
Public Member Functions | |
void | handleErr (Throwable err) |
Static Public Attributes | |
static final ErrHandler | DEFAULT = new ErrHandler() |
static ErrHandler | active = DEFAULT |
Class for handling thrown exceptions during an asynchronous execution of this library.
void handleErr | ( | Throwable | err | ) |
This method is called by an underlying thread of this library when unexpected exception is thrown. This default implementation prints the stack trace of the captured throwable.
err | the thrown exception to handle |
|
static |
This is the active implementation of ErrHandler. It is initialized as DEFAULT. If null, any thrown exceptions from an asynchronous execution will be ignored.
|
static |
This is the default implementation of ErrHandler.