Package ghidra

Class SwingExceptionHandler

java.lang.Object
ghidra.SwingExceptionHandler
All Implemented Interfaces:
Thread.UncaughtExceptionHandler

public class SwingExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Class to handle exceptions caught within the Swing event dispatch thread.
  • Constructor Details

    • SwingExceptionHandler

      public SwingExceptionHandler()
  • Method Details

    • handle

      public void handle(Throwable t) throws Throwable
      Handle exception caught within the Swing event dispatch thread.
      Parameters:
      t - exception
      Throws:
      Throwable - error occurred while attempting to handle exception
    • registerHandler

      public static void registerHandler()
      Register SwingExceptionHandler
    • handleUncaughtException

      public static void handleUncaughtException(Throwable t)
    • uncaughtException

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