Package ghidra

Class GhidraThreadGroup

  • All Implemented Interfaces:
    java.lang.Thread.UncaughtExceptionHandler

    public class GhidraThreadGroup
    extends java.lang.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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void handleUncaughtException​(java.lang.Throwable t)
      Handle any uncaught throwable/exception.
      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
    • Constructor Detail

      • GhidraThreadGroup

        public GhidraThreadGroup()
        Constructor for GhidraThreadGroup.
    • 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
      • handleUncaughtException

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