public class DefaultExceptionHandler extends Object implements ExceptionHandler
| Constructor and Description |
|---|
DefaultExceptionHandler()
Creates a new default exception handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
thrown(DispatcherOp<?> op,
Object subscriber,
Throwable t,
Thread dt)
A throwable has been thrown when notifying a subscriber of a
dispatch operation.
|
void |
thrown(Runnable task,
Throwable t,
Thread dt)
A throwable has been thrown when running a task in a dispatcher
thread.
|
void |
thrown(Throwable t)
A throwable has been thrown in some other situation (e.g.,
creating a thread).
|
public DefaultExceptionHandler()
public void thrown(DispatcherOp<?> op, Object subscriber, Throwable t, Thread dt)
ExceptionHandlerthrown in interface ExceptionHandlerop - the dispatch operation, cannot be nullsubscriber - the subscriber being notified, cannot be
nullt - the throwable, cannot be nulldt - the dispatcher thread, cannot be nullpublic void thrown(Runnable task, Throwable t, Thread dt)
ExceptionHandlerthrown in interface ExceptionHandlertask - the runnable, cannot be nullt - the throwable, cannot be nulldt - the dispatcher thread, cannot be nullpublic void thrown(Throwable t)
ExceptionHandlerthrown in interface ExceptionHandlert - the throwable, cannot be nullCopyright © 2015. All rights reserved.