Ignore:
Timestamp:
2017-03-19T02:26:34+01:00 (7 years ago)
Author:
Don-vip
Message:

PMD - Strict Exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionTypeCalculator.java

    r11452 r11746  
    1313import org.openstreetmap.josm.data.osm.Way;
    1414import org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionType.Direction;
     15import org.openstreetmap.josm.tools.JosmRuntimeException;
    1516import org.openstreetmap.josm.tools.bugreport.BugReport;
    1617
     
    4445            try {
    4546                lastWct = updateLinksFor(con, lastWct, i);
    46             } catch (RuntimeException e) {
     47            } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) {
    4748                int index = i;
    4849                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.