Package ghidra
Class SwingExceptionHandler
java.lang.Object
ghidra.SwingExceptionHandler
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
Class to handle exceptions caught within the Swing event dispatch thread.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Handle exception caught within the Swing event dispatch thread.static void
static void
Register SwingExceptionHandlervoid
uncaughtException
(Thread t, Throwable e)
-
Constructor Details
-
SwingExceptionHandler
public SwingExceptionHandler()
-
-
Method Details
-
handle
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
-
uncaughtException
- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-