LoggingThreadGroup (Hyperic HQ Plugin API)
Keywords: org.hyperic.util.thread.LoggingThreadGroup class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.util.thread
Class LoggingThreadGroup

    java.lang.Object
      java.lang.ThreadGroup
          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`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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