public final class BugReportExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
| Modifier and Type | Field and Description |
|---|---|
private static int |
exceptionCounter |
private static boolean |
handlingInProgress |
private static boolean |
suppressExceptionDialogs |
| Constructor and Description |
|---|
BugReportExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
exceptionHandlingInProgress()
Determines if an exception is currently being handled
|
static URL |
getBugReportUrl(String debugText)
Replies the URL to create a JOSM bug report with the given debug text
|
static UrlLabel |
getBugReportUrlLabel(String debugText)
Replies the URL label to create a JOSM bug report with the given debug text
|
void |
handle(Throwable t)
Handles the given throwable object
|
static void |
handleException(Throwable e)
Handles the given exception
|
void |
uncaughtException(Thread t,
Throwable e) |
private static boolean handlingInProgress
private static int exceptionCounter
private static boolean suppressExceptionDialogs
public BugReportExceptionHandler()
public void uncaughtException(Thread t, Throwable e)
uncaughtException in interface Thread.UncaughtExceptionHandlerpublic void handle(Throwable t)
t - The throwable objectpublic static void handleException(Throwable e)
e - the exceptionpublic static boolean exceptionHandlingInProgress()
true if an exception is currently being handled, false otherwisepublic static URL getBugReportUrl(String debugText)
debugText - The debug text to provide uspublic static final UrlLabel getBugReportUrlLabel(String debugText)
debugText - The debug text to provide us