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/layer/geoimage/CorrelateGpxWithImages.java

    r11739 r11746  
    8383import org.openstreetmap.josm.tools.GBC;
    8484import org.openstreetmap.josm.tools.ImageProvider;
     85import org.openstreetmap.josm.tools.JosmRuntimeException;
    8586import org.openstreetmap.josm.tools.Pair;
    8687import org.openstreetmap.josm.tools.Utils;
     
    934935                final long deciSeconds = timezoneOffsetPair.b.getMilliseconds() / 100;
    935936                sldSeconds.setValue((int) (deciSeconds % 60));
    936             } catch (RuntimeException e) {
     937            } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) {
    937938                Main.warn(e);
    938939                JOptionPane.showMessageDialog(Main.parent,
Note: See TracChangeset for help on using the changeset viewer.