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/io/SaveLayerTask.java

    r11553 r11746  
    1111import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    1212import org.openstreetmap.josm.tools.CheckParameterUtil;
     13import org.openstreetmap.josm.tools.JosmRuntimeException;
    1314
    1415/**
     
    5556                layerInfo.getLayer().onPostSaveToFile();
    5657            }
    57         } catch (RuntimeException e) {
     58        } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) {
    5859            Main.error(e);
    5960            setLastException(e);
Note: See TracChangeset for help on using the changeset viewer.