|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ThreadGroup
org.apache.jdo.tck.util.ThreadExceptionHandler
This class extends java.lang.ThreadGroup and stores any uncaught exception of threads from this ThreadGroup for later retrieval.
Constructor Summary | |
ThreadExceptionHandler()
Constructor. |
Method Summary | |
java.util.Set |
getAllUncaughtExceptions()
Returns all uncaught exception stored in this ThreadGroup. |
java.lang.Throwable |
getUncaughtException(java.lang.Thread t)
Returns an uncaught exception for the specified thread. |
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught 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 |
Constructor Detail |
public ThreadExceptionHandler()
Method Detail |
public void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
public java.lang.Throwable getUncaughtException(java.lang.Thread t)
public java.util.Set getAllUncaughtExceptions()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |