Ignore:
Timestamp:
2016-12-09T23:31:13+01:00 (7 years ago)
Author:
Don-vip
Message:

sonar - squid:S00112 - Generic exceptions should never be thrown: define JosmRuntimeException

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/proj/ClassProjFactory.java

    r10208 r11374  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.data.projection.proj;
     3
     4import org.openstreetmap.josm.tools.JosmRuntimeException;
    35
    46/**
     
    2325            proj = projClass.getConstructor().newInstance();
    2426        } catch (ReflectiveOperationException e) {
    25             throw new RuntimeException(e);
     27            throw new JosmRuntimeException(e);
    2628        }
    2729        return proj;
Note: See TracChangeset for help on using the changeset viewer.