Package ghidra
Class SwingExceptionHandler
- java.lang.Object
 - 
- ghidra.SwingExceptionHandler
 
 
- 
- All Implemented Interfaces:
 java.lang.Thread.UncaughtExceptionHandler
public class SwingExceptionHandler extends java.lang.Object implements java.lang.Thread.UncaughtExceptionHandlerClass to handle exceptions caught within the Swing event dispatch thread. 
- 
- 
Constructor Summary
Constructors Constructor Description SwingExceptionHandler() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(java.lang.Throwable t)Handle exception caught within the Swing event dispatch thread.static voidhandleUncaughtException(java.lang.Throwable t)static voidregisterHandler()Register SwingExceptionHandlervoiduncaughtException(java.lang.Thread t, java.lang.Throwable e) 
 - 
 
- 
- 
Method Detail
- 
handle
public void handle(java.lang.Throwable t) throws java.lang.ThrowableHandle exception caught within the Swing event dispatch thread.- Parameters:
 t- exception- Throws:
 java.lang.Throwable- error occurred while attempting to handle exception
 
- 
registerHandler
public static void registerHandler()
Register SwingExceptionHandler 
- 
handleUncaughtException
public static void handleUncaughtException(java.lang.Throwable t)
 
- 
uncaughtException
public void uncaughtException(java.lang.Thread t, java.lang.Throwable e)- Specified by:
 uncaughtExceptionin interfacejava.lang.Thread.UncaughtExceptionHandler
 
 - 
 
 -