public class ExceptionHandler extends EventQueue implements Thread.UncaughtExceptionHandler
Exception handler to provide the following to application:
| Constructor and Description |
|---|
ExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatchEvent(AWTEvent newEvent) |
static void |
handleThrowable(Throwable t)
The handler of last resort when a programming error has caused an uncaught exception to occur
|
static com.google.common.eventbus.SubscriberExceptionHandler |
newSubscriberExceptionHandler() |
static void |
registerExceptionHandler()
Set this as the default uncaught exception handler
|
void |
uncaughtException(Thread t,
Throwable e) |
createSecondaryLoop, getCurrentEvent, getMostRecentEventTime, getNextEvent, invokeAndWait, invokeLater, isDispatchThread, peekEvent, peekEvent, pop, postEvent, pushpublic static void registerExceptionHandler()
Set this as the default uncaught exception handler
public static void handleThrowable(Throwable t)
The handler of last resort when a programming error has caused an uncaught exception to occur
t - The cause of the problemprotected void dispatchEvent(AWTEvent newEvent)
dispatchEvent in class EventQueuepublic void uncaughtException(Thread t, Throwable e)
uncaughtException in interface Thread.UncaughtExceptionHandlerpublic static com.google.common.eventbus.SubscriberExceptionHandler newSubscriberExceptionHandler()
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.