|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ThreadGroup
Util.GEVAUncaught
public class GEVAUncaught
In a last effort ditch attempt, try to notify the user that a worker thread crashed for an unexpected reason. Uncaught exceptions in worker threads will only be output to a console if one is visible, which it generally wont, what with this being a GUI app, so this catches the error before it reaches the console solution, and offers it as a message-box
Nested Class Summary | |
---|---|
static class |
GEVAUncaught.GEVAGlobalUncaught
Every possible internal unexpected exception should be handled by GEVAUncaught, but for external (and forgotted internal) unexpected exceptions, don't allow those to vanish into a non-existing console, instead, output an unhelpful message so the user at least knows there be an error. |
Field Summary | |
---|---|
static GEVAUncaught |
error
|
static GEVAUncaught |
global
|
static GEVAUncaught |
graph
|
static GEVAUncaught |
jar
|
static GEVAUncaught |
output
|
Method Summary | |
---|---|
void |
uncaughtException(java.lang.Thread thread,
java.lang.Throwable exception)
|
Methods inherited from class java.lang.ThreadGroup |
---|
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final GEVAUncaught global
public static final GEVAUncaught graph
public static final GEVAUncaught output
public static final GEVAUncaught error
public static final GEVAUncaught jar
Method Detail |
---|
public void uncaughtException(java.lang.Thread thread, java.lang.Throwable exception)
uncaughtException
in interface java.lang.Thread.UncaughtExceptionHandler
uncaughtException
in class java.lang.ThreadGroup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |