Skip to content

Commit

Permalink
Fix throw
Browse files Browse the repository at this point in the history
  • Loading branch information
ebocher committed Oct 28, 2023
1 parent 7a27fce commit 4e63e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/cts/op/BatchCoordinateTransformTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void testCoordinateTransformFromFile() throws Exception {
inputCRS = cRSFactory.getCRS(csNameSrc);
outputCRS = cRSFactory.getCRS(csNameDest);
}catch (CRSException ex){
throw new RuntimeException("Cannot create the CRS's for the id : "+ id);
throw new CRSException("Cannot create the CRS's for the id : "+ id);
}
double[] pointSource = new double[]{csNameSrc_X, csNameSrc_Y};
double[] result = transform((GeodeticCRS) inputCRS, (GeodeticCRS) outputCRS, pointSource);
Expand Down

0 comments on commit 4e63e06

Please sign in to comment.