Class BugReportExceptionHandler

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

    public final class BugReportExceptionHandler
    extends java.lang.Object
    implements java.lang.Thread.UncaughtExceptionHandler
    An exception handler that asks the user to send a bug report.
    Since:
    40
    • Method Detail

      • uncaughtException

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

        public static void handleException​(java.lang.Throwable e)
        Handles the given exception
        Parameters:
        e - the exception
      • exceptionHandlingInProgress

        public static boolean exceptionHandlingInProgress()
        Determines if an exception is currently being handled
        Returns:
        true if an exception is currently being handled, false otherwise