public class EDTExceptionCatcher extends EventDispatchExceptionHandler
synchronizedBlock
Constructor and Description |
---|
EDTExceptionCatcher() |
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
protected void |
exceptionCaught(Throwable thr)
Note we are synchronized by synchronizeBlock at this point
|
static Throwable |
getThrowable()
Return the most recent exception caught on the dispatch thread, or
null if none has been thrown or the exception has been
cleared. |
static long |
getThrowableTime()
Returns when the most recent exception was caught on the dispatch
thread, or -1 if none has been thrown or the exception has been
cleared.
|
void |
install() |
handle, isInstalled
public void install()
install
in class EventDispatchExceptionHandler
public static Throwable getThrowable()
null
if none has been thrown or the exception has been
cleared. Also clears the exception.public static long getThrowableTime()
public static void clear()
protected void exceptionCaught(Throwable thr)
exceptionCaught
in class EventDispatchExceptionHandler
Abbot is hosted on