Ignore:
Timestamp:
2016-07-24T14:48:47+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S1166 - Exception handlers should preserve the original exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/widgets/OsmIdTextField.java

    r8496 r10627  
    1010import javax.swing.text.JTextComponent;
    1111
     12import org.openstreetmap.josm.Main;
    1213import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
    1314import org.openstreetmap.josm.data.osm.PrimitiveId;
     
    110111                    } catch (IllegalArgumentException ex) {
    111112                        try {
     113                            Main.trace(ex);
    112114                            long id = Long.parseLong(s);
    113115                            if (id <= 0) {
     
    123125                            }
    124126                        } catch (IllegalArgumentException ex2) {
     127                            Main.trace(ex2);
    125128                            return false;
    126129                        }
Note: See TracChangeset for help on using the changeset viewer.