Changeset 11746 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs
- Timestamp:
- 2017-03-19T02:26:34+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/DialogsPanel.java
r11452 r11746 17 17 import org.openstreetmap.josm.tools.CheckParameterUtil; 18 18 import org.openstreetmap.josm.tools.Destroyable; 19 import org.openstreetmap.josm.tools.JosmRuntimeException; 19 20 import org.openstreetmap.josm.tools.bugreport.BugReport; 20 21 … … 325 326 try { 326 327 t.destroy(); 327 } catch ( RuntimeException e) {328 } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) { 328 329 throw BugReport.intercept(e).put("dialog", t).put("dialog-class", t.getClass()); 329 330 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentPanel.java
r10938 r11746 54 54 import org.openstreetmap.josm.gui.widgets.PopupMenuLauncher; 55 55 import org.openstreetmap.josm.tools.ImageProvider; 56 import org.openstreetmap.josm.tools.JosmRuntimeException; 56 57 import org.openstreetmap.josm.tools.bugreport.BugReportExceptionHandler; 57 58 … … 235 236 GuiHelper.runInEDT(() -> HistoryBrowserDialogManager.getInstance().show(h)); 236 237 } 237 } catch (final RuntimeException e) {238 } catch (final JosmRuntimeException | IllegalArgumentException | IllegalStateException e) { 238 239 GuiHelper.runInEDT(() -> BugReportExceptionHandler.handleException(e)); 239 240 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java
r11684 r11746 46 46 import org.openstreetmap.josm.gui.util.GuiHelper; 47 47 import org.openstreetmap.josm.gui.widgets.OsmPrimitivesTableModel; 48 import org.openstreetmap.josm.tools.JosmRuntimeException; 48 49 import org.openstreetmap.josm.tools.bugreport.BugReport; 49 50 … … 808 809 } 809 810 return connectionType.get(i); 810 } catch ( RuntimeException e) {811 } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) { 811 812 throw BugReport.intercept(e).put("i", i).put("members", members).put("relation", relation); 812 813 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionTypeCalculator.java
r11452 r11746 13 13 import org.openstreetmap.josm.data.osm.Way; 14 14 import org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionType.Direction; 15 import org.openstreetmap.josm.tools.JosmRuntimeException; 15 16 import org.openstreetmap.josm.tools.bugreport.BugReport; 16 17 … … 44 45 try { 45 46 lastWct = updateLinksFor(con, lastWct, i); 46 } catch ( RuntimeException e) {47 } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) { 47 48 int index = i; 48 49 throw BugReport.intercept(e).put("i", i).put("member", () -> members.get(index)).put("con", con);
Note:
See TracChangeset
for help on using the changeset viewer.