public class CatchingThreadGroup extends ThreadGroup
The GNU General Public License for details.
Constructor and Description |
---|
CatchingThreadGroup(String name)
Simple ctor that names the threadgroup
|
CatchingThreadGroup(ThreadGroup group,
String name)
Simple ctor that names the threadgroup, and provides a parent group
|
Modifier and Type | Method and Description |
---|---|
void |
uncaughtException(Thread t,
Throwable ex) |
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString
public CatchingThreadGroup(String name)
name
- The name for this grouppublic CatchingThreadGroup(ThreadGroup group, String name)
group
- The parent ThreadGroupname
- The name for this grouppublic void uncaughtException(Thread t, Throwable ex)
uncaughtException
in interface Thread.UncaughtExceptionHandler
uncaughtException
in class ThreadGroup