Package ghidra

Class SwingExceptionHandler

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

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

      • SwingExceptionHandler

        public SwingExceptionHandler()
    • Method Detail

      • handle

        public void handle​(java.lang.Throwable t)
                    throws java.lang.Throwable
        Handle 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:
        uncaughtException in interface java.lang.Thread.UncaughtExceptionHandler