Class MonitoredThreadGroup

java.lang.Object
  |
  +--java.lang.ThreadGroup
        |
        +--MonitoredThreadGroup

public class MonitoredThreadGroup
extends java.lang.ThreadGroup

Extends the regular thread group to pass uncaught exceptions onto the error queue.


Constructor Summary
MonitoredThreadGroup(java.lang.String name, LinkedListQ err, Semaphore sem)
           
 
Method Summary
 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

MonitoredThreadGroup

public MonitoredThreadGroup(java.lang.String name,
                            LinkedListQ err,
                            Semaphore sem)
Method Detail

uncaughtException

public void uncaughtException(java.lang.Thread t,
                              java.lang.Throwable e)
Overrides:
uncaughtException in class java.lang.ThreadGroup