Ignore:
Timestamp:
2016-05-17T02:02:30+02:00 (8 years ago)
Author:
Don-vip
Message:

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

File:
1 edited

Legend:

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

    r10001 r10235  
    126126                rho = 0.0;
    127127            } else {
    128                 throw new RuntimeException();
     128                throw new AssertionError();
    129129            }
    130130        }
     
    184184            }
    185185        }
    186         throw new RuntimeException("no convergence for q="+qs);
     186        throw new IllegalStateException("no convergence for qs="+qs);
    187187    }
    188188
Note: See TracChangeset for help on using the changeset viewer.