Package | Description |
---|---|
org.openstreetmap.josm.gui.bugreport |
Provides GUI classes for the bug report system, allowing users to create tickets on issue tracker directly from JOSM.
|
org.openstreetmap.josm.tools.bugreport |
Provides core classes for the bug report system, allowing to save technical information used later in tickets on issue tracker.
|
Modifier and Type | Method and Description |
---|---|
static BugReportQueue.SuppressionMode |
BugReportDialog.showFor(ReportedException e,
int exceptionCounter)
Show the bug report for a given exception
|
Modifier and Type | Field and Description |
---|---|
private ReportedException |
BugReport.exception |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.CopyOnWriteArrayList<java.util.function.Predicate<ReportedException>> |
BugReportQueue.handlers |
private java.util.LinkedList<ReportedException> |
BugReportQueue.reportsToDisplay |
private java.util.ArrayList<ReportedException> |
BugReportQueue.suppressFor |
Modifier and Type | Method and Description |
---|---|
private ReportedException |
BugReportQueue.getNext() |
static ReportedException |
BugReport.intercept(java.lang.Throwable t)
This should be called whenever you want to add more information to a given exception.
|
ReportedException |
ReportedException.put(java.lang.String key,
java.lang.Object value)
Adds some debug values to this exception.
|
ReportedException |
ReportedException.put(java.lang.String key,
java.util.function.Supplier<java.lang.Object> valueSupplier)
Adds some debug values to this exception.
|
Modifier and Type | Method and Description |
---|---|
private BugReportQueue.SuppressionMode |
BugReportQueue.displayFor(ReportedException e) |
BugReportQueue.SuppressionMode |
BugReportQueue.BugReportHandler.handle(ReportedException e,
int exceptionCounter)
Handle the bug report for a given exception
|
private void |
BugReportQueue.handleDialogResult(ReportedException e,
BugReportQueue.SuppressionMode suppress) |
boolean |
ReportedException.isSame(ReportedException e)
Checks if this exception is considered the same as an other exception.
|
void |
BugReportQueue.submit(ReportedException report)
Submit a new error to be displayed
|
Modifier and Type | Method and Description |
---|---|
void |
BugReportQueue.addBugReportHandler(java.util.function.Predicate<ReportedException> handler)
Allows you to peek or even intercept the bug reports.
|
Constructor and Description |
---|
BugReport(ReportedException e)
Create a new bug report
|