Changeset 3098 in josm for trunk/src/org
- Timestamp:
- 2010-03-09T08:20:54+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r3054 r3098 131 131 132 132 Thread.setDefaultUncaughtExceptionHandler(new BugReportExceptionHandler()); 133 // http://stuffthathappens.com/blog/2007/10/15/one-more-note-on-uncaught-exception-handlers/ 134 System.setProperty("sun.awt.exception.handler", BugReportExceptionHandler.class.getName()); 133 135 134 136 // initialize the plaform hook, and -
trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java
r2955 r3098 36 36 handleException(e); 37 37 } 38 39 //http://stuffthathappens.com/blog/2007/10/15/one-more-note-on-uncaught-exception-handlers/ 40 public void handle(Throwable t) { 41 handleException(t); 42 } 43 38 44 public static void handleException(Throwable e) { 39 45 e.printStackTrace(); … … 116 122 p.add(new JMultilineLabel( 117 123 tr("You have encountered an error in JOSM. Before you file a bug report " + 118 124 "make sure you have updated to the latest version of JOSM here:")), GBC.eol()); 119 125 p.add(new UrlLabel("http://josm.openstreetmap.de/#Download"), GBC.eop().insets(8,0,0,0)); 120 126 p.add(new JMultilineLabel( 121 127 tr("You should also update your plugins. If neither of those help please " + 122 128 "file a bug report in our bugtracker using this link:")), GBC.eol()); 123 129 p.add(new UrlLabel(url.toString(), "http://josm.openstreetmap.de/josmticket?..."), GBC.eop().insets(8,0,0,0)); 124 130 p.add(new JMultilineLabel( 125 131 tr("There the error information provided below should already be " + 126 "filled in for you. Please include information on how to reproduce " + 127 132 "filled in for you. Please include information on how to reproduce " + 133 "the error and try to supply as much detail as possible.")), GBC.eop()); 128 134 p.add(new JMultilineLabel( 129 135 tr("Alternatively, if that does not work you can manually fill in the information " + 130 136 "below at this URL:")), GBC.eol()); 131 137 p.add(new UrlLabel("http://josm.openstreetmap.de/newticket"), GBC.eop().insets(8,0,0,0)); 132 138 try {
Note:
See TracChangeset
for help on using the changeset viewer.