Class UncaughtExceptionHandler

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

    public class UncaughtExceptionHandler
    extends java.lang.Object
    implements java.lang.Thread.UncaughtExceptionHandler
    Class to log exceptions that rise to the top of threads, including to the top of the AWT event processing loop. Using code must install this with
     Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler());
     
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void systemExit()  
      void uncaughtException​(java.lang.Thread t, java.lang.Throwable e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • uncaughtException

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