Class BugReportExceptionHandler
java.lang.Object
org.openstreetmap.josm.tools.bugreport.BugReportExceptionHandler
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
public final class BugReportExceptionHandler
extends Object
implements Thread.UncaughtExceptionHandler
An exception handler that asks the user to send a bug report.
- Since:
- 40
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDetermines if an exception is currently being handledstatic voidHandles the given exceptionvoiduncaughtException(Thread t, Throwable e)
-
Constructor Details
-
BugReportExceptionHandler
public BugReportExceptionHandler()
-
-
Method Details
-
uncaughtException
- Specified by:
uncaughtExceptionin interfaceThread.UncaughtExceptionHandler
-
handleException
Handles the given exception- Parameters:
e- the exception
-
exceptionHandlingInProgress
Determines if an exception is currently being handled- Returns:
trueif an exception is currently being handled,falseotherwise
-