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/data/projection/CustomProjection.java

    r11553 r11746  
    3232import org.openstreetmap.josm.data.projection.proj.Proj;
    3333import org.openstreetmap.josm.data.projection.proj.ProjParameters;
     34import org.openstreetmap.josm.tools.JosmRuntimeException;
    3435import org.openstreetmap.josm.tools.Utils;
    3536import org.openstreetmap.josm.tools.bugreport.BugReport;
     
    831832                        }
    832833                    }
    833                 } catch (RuntimeException e) {
     834                } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) {
    834835                    Main.error(e);
    835836                }
Note: See TracChangeset for help on using the changeset viewer.