This change is reverted for Apache SIS: we keep the exception cause.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r16528:16529 https://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/main/java/org/geotools/coverage/grid/GeneralGridGeometry.java
Revision 16528 | Revision 16529 |
---|---|
envelope = CRSUtilities.transform(gridToCRS, envelope);
} catch (TransformException exception) {
throw new IllegalArgumentException(Errors.format(ErrorKeys.BAD_TRANSFORM_$1,
Utilities.getShortClassName(gridToCRS)), exception);
}
envelope.setCoordinateReferenceSystem(crs);
this.envelope = envelope; |
envelope = CRSUtilities.transform(gridToCRS, envelope);
} catch (TransformException exception) {
throw new IllegalArgumentException(Errors.format(ErrorKeys.BAD_TRANSFORM_$1,
Utilities.getShortClassName(gridToCRS))/*, exception*/);
}
envelope.setCoordinateReferenceSystem(crs);
this.envelope = envelope; |