Package ghidra

# Class GhidraThreadGroup

java.lang.Object
java.lang.ThreadGroup
ghidra.GhidraThreadGroup

All Implemented Interfaces:
  `Thread.UncaughtExceptionHandler`

public class GhidraThreadGroup extends ThreadGroup
`GhidraThreadGroup` provides a means of catching all uncaught exceptions which occur in any Ghidra thread.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GhidraThreadGroup()`
  Constructor for GhidraThreadGroup.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `handleUncaughtException(Throwable t)`
  Handle any uncaught throwable/exception.
  `void`
  `uncaughtException(Thread t, 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`

- ## Constructor Details

  - ### GhidraThreadGroup

    public GhidraThreadGroup()
    Constructor for GhidraThreadGroup.

- ## Method Details

  - ### uncaughtException

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

  - ### handleUncaughtException

    public static void handleUncaughtException(Throwable t)
    Handle any uncaught throwable/exception.
    Parameters:
      `t` - throwable