Class DefaultBugReportSendingHandler
java.lang.Object
org.openstreetmap.josm.gui.bugreport.DefaultBugReportSendingHandler
- All Implemented Interfaces:
BugReportSender.BugReportSendingHandler
public class DefaultBugReportSendingHandler
extends Object
implements BugReportSender.BugReportSendingHandler
Default bug report callback that opens the bug report form in user browser
and displays a dialog in case of error.
- Since:
- 14176
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultBugReportSendingHandler
public DefaultBugReportSendingHandler()
-
-
Method Details
-
sendingBugReport
Description copied from interface:BugReportSender.BugReportSendingHandlerCalled when a bug is sent to JOSM bugtracker.- Specified by:
sendingBugReportin interfaceBugReportSender.BugReportSendingHandler- Parameters:
bugUrl- URL to visit to effectively submit the bug report to JOSM websitestatusText- the status text being sent- Returns:
nullfor success or a string in case of an error
-
failed
Description copied from interface:BugReportSender.BugReportSendingHandlerCalled when a bug failed to be sent to JOSM bugtracker.- Specified by:
failedin interfaceBugReportSender.BugReportSendingHandler- Parameters:
errorMessage- the error messagestatusText- the status text being sent
-