net.sf.cindy.util
Class LogThreadGroup

java.lang.Object
  extended by java.lang.ThreadGroup
      extended by net.sf.cindy.util.LogThreadGroup
All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler

public class LogThreadGroup
extends java.lang.ThreadGroup

Log uncaught exception.

Version:
$id$
Author:
Roger Chen

Field Summary
static java.lang.ThreadGroup CINDY_THREAD_GROUP
          Cindy kernel thread group.
 
Constructor Summary
LogThreadGroup(java.lang.String name)
           
LogThreadGroup(java.lang.ThreadGroup parent, java.lang.String name)
           
 
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
 

Field Detail

CINDY_THREAD_GROUP

public static final java.lang.ThreadGroup CINDY_THREAD_GROUP
Cindy kernel thread group. All kernel threads should belong to this thread group or it's sub thread group.

Constructor Detail

LogThreadGroup

public LogThreadGroup(java.lang.String name)

LogThreadGroup

public LogThreadGroup(java.lang.ThreadGroup parent,
                      java.lang.String name)
Method Detail

uncaughtException

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