Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.util.thread
Class LoggingThreadGroup

java.lang.Object
  extended by java.lang.ThreadGroup
      extended by org.hyperic.util.thread.LoggingThreadGroup
All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler

public class LoggingThreadGroup
extends java.lang.ThreadGroup

Create your threads using this ThreadGroup to have uncaught exceptions logged via Log4j


Constructor Summary
LoggingThreadGroup(java.lang.String groupName)
           
 
Method Summary
 void uncaughtException(java.lang.Thread t, java.lang.Throwable exc)
           
 
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

LoggingThreadGroup

public LoggingThreadGroup(java.lang.String groupName)
Method Detail

uncaughtException

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

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.