[Schmitzm-commits] r1523 - trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sat Mar 19 16:15:19 CET 2011
Author: alfonx
Date: 2011-03-19 16:15:19 +0100 (Sat, 19 Mar 2011)
New Revision: 1523
Modified:
trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/StylingUtil.java
Log:
Better error logging when validating SLD
Modified: trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/StylingUtil.java
===================================================================
--- trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/StylingUtil.java 2011-03-19 12:56:10 UTC (rev 1522)
+++ trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/StylingUtil.java 2011-03-19 15:15:19 UTC (rev 1523)
@@ -2911,8 +2911,7 @@
try {
parser.validate(is);
} catch (Exception e) {
- // return Arrays.asList(e);
- throw new RuntimeException("Exception while parsing " + is);
+ throw new RuntimeException("Exception while parsing " + is, e);
}
return parser.getValidationErrors();
More information about the Schmitzm-commits
mailing list