|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ThreadGroup
org.hyperic.util.unittest.server.ExceptionHandlingThreadGroup
public class ExceptionHandlingThreadGroup
A thread group that a client may use for registering an action to perform if an uncaught exception is handled. The uncaught exception may also be retrieved.
Constructor Summary | |
---|---|
ExceptionHandlingThreadGroup(java.lang.String name)
|
Method Summary | |
---|---|
java.lang.Throwable |
getUncaughtException()
|
void |
setUncaughtExceptionAction(java.lang.Runnable runnable)
Set an action to execute in the uncaught exception handler. |
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
|
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 ExceptionHandlingThreadGroup(java.lang.String name)
Method Detail |
---|
public java.lang.Throwable getUncaughtException()
null
.public void setUncaughtExceptionAction(java.lang.Runnable runnable)
runnable
- The runnable representing the action to execute.public void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
uncaughtException
in interface java.lang.Thread.UncaughtExceptionHandler
uncaughtException
in class java.lang.ThreadGroup
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |