Changeset 12075 in josm


Ignore:
Timestamp:
2017-05-06T18:18:43+02:00 (8 years ago)
Author:
Don-vip
Message:

fix PMD warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/FileImporter.java

    r12059 r12075  
    1616import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    1717import org.openstreetmap.josm.gui.util.GuiHelper;
     18import org.openstreetmap.josm.tools.JosmRuntimeException;
     19import org.openstreetmap.josm.tools.Utils;
    1820import org.openstreetmap.josm.tools.bugreport.BugReportExceptionHandler;
    19 import org.openstreetmap.josm.tools.Utils;
    2021
    2122/**
     
    103104            displayError(f, e);
    104105            return false;
    105         } catch (Exception e) {
     106        } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) {
    106107            BugReportExceptionHandler.handleException(e);
    107108            return false;
Note: See TracChangeset for help on using the changeset viewer.