org.openstreetmap.josm.tools
Class BugReportExceptionHandler

java.lang.Object
  extended by org.openstreetmap.josm.tools.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.


Field Summary
private static int exceptionCounter
           
private static boolean handlingInProgress
           
private static boolean suppressExceptionDialogs
           
 
Constructor Summary
BugReportExceptionHandler()
           
 
Method Summary
static boolean exceptionHandlingInProgress()
           
 void handle(java.lang.Throwable t)
           
static void handleException(java.lang.Throwable e)
           
 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
 

Field Detail

handlingInProgress

private static boolean handlingInProgress

exceptionCounter

private static int exceptionCounter

suppressExceptionDialogs

private static boolean suppressExceptionDialogs
Constructor Detail

BugReportExceptionHandler

public BugReportExceptionHandler()
Method Detail

uncaughtException

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

handle

public void handle(java.lang.Throwable t)

handleException

public static void handleException(java.lang.Throwable e)

exceptionHandlingInProgress

public static boolean exceptionHandlingInProgress()


JOSM