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, push
public 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 EventQueue
public void uncaughtException(Thread t, Throwable e)
uncaughtException
in interface Thread.UncaughtExceptionHandler
public static com.google.common.eventbus.SubscriberExceptionHandler newSubscriberExceptionHandler()
Copyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.