|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ThreadGroup
visidia.simulation.VisidiaThreadGroup
public class VisidiaThreadGroup
VisidiaThreadGroup is a thread group in visidia simulation mode. This class overrides his super class uncaughtException() method to handle uncaught exceptions from threads.
Constructor Summary | |
---|---|
VisidiaThreadGroup(java.lang.String name)
Instantiates a new thread group. |
|
VisidiaThreadGroup(java.lang.ThreadGroup parent,
java.lang.String name)
Instantiates a new thread group. |
Method Summary | |
---|---|
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
Handle uncaught exceptions raised from this thread group children. |
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 VisidiaThreadGroup(java.lang.String name)
name
- the namepublic VisidiaThreadGroup(java.lang.ThreadGroup parent, java.lang.String name)
parent
- the parentname
- the nameMethod Detail |
---|
public void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
uncaughtException
in interface java.lang.Thread.UncaughtExceptionHandler
uncaughtException
in class java.lang.ThreadGroup
t
- the threade
- the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |