Ignore:
Timestamp:
2016-05-15T00:51:10+02:00 (4 years ago)
Author:
Don-vip
Message:

sonar - squid:S2221 - "Exception" should not be caught when not required by called methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java

    r9738 r10212  
    1212import org.openstreetmap.josm.data.coor.LatLon;
    1313import org.openstreetmap.josm.data.projection.Projections;
     14import org.openstreetmap.josm.tools.UncheckedParseException;
    1415import org.openstreetmap.josm.tools.date.DateUtils;
    1516import org.openstreetmap.josm.tools.template_engine.TemplateEngineDataProvider;
     
    124125                this.time = time.getTime() / 1000.;
    125126                return time;
    126             } catch (Exception e) {
     127            } catch (UncheckedParseException e) {
    127128                Main.warn(e);
    128129                time = 0;
Note: See TracChangeset for help on using the changeset viewer.