Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.crosswire.common.swing
Class CatchingThreadGroup

    java.lang.Object
      java.lang.ThreadGroup
          org.crosswire.common.swing.CatchingThreadGroup

All Implemented Interfaces:
  Thread.UncaughtExceptionHandler

    public class CatchingThreadGroup

extends ThreadGroup

Another way to get ahold of missing exceptions.

Author:
  Joe Walker [joe at eireneh dot com]
See Also:
  `for license details. The copyright to this program is held by it's authors.`

Constructor Summary
`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

Method Summary
`void` | `uncaughtException(Thread t, Throwable ex)`

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

### CatchingThreadGroup

    public CatchingThreadGroup(String name)

  Simple ctor that names the threadgroup

  Parameters:
    `name` - The name for this group

### CatchingThreadGroup

    public CatchingThreadGroup(ThreadGroup group,
                               String name)

  Simple ctor that names the threadgroup, and provides a parent group

  Parameters:
    `group` - The parent ThreadGroup
    `name` - The name for this group

Method Detail

### uncaughtException

    public void uncaughtException(Thread t,
                                  Throwable ex)

  Specified by:
    `uncaughtException` in interface `Thread.UncaughtExceptionHandler`
  Overrides:
    `uncaughtException` in class `ThreadGroup`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD