This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.jcr.contentloader-2.0.6 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-contentloader.git
commit 5613331a70c544845ba77686454741226ac5e848 Author: Bertrand Delacretaz <[email protected]> AuthorDate: Thu Oct 29 08:43:05 2009 +0000 SLING-1161 - fix code to compile with JDK 1.5 git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/contentloader@830860 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/sling/jcr/contentloader/internal/readers/XmlReader.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sling/jcr/contentloader/internal/readers/XmlReader.java b/src/main/java/org/apache/sling/jcr/contentloader/internal/readers/XmlReader.java index 3c28ef3..7047685 100644 --- a/src/main/java/org/apache/sling/jcr/contentloader/internal/readers/XmlReader.java +++ b/src/main/java/org/apache/sling/jcr/contentloader/internal/readers/XmlReader.java @@ -233,7 +233,9 @@ public class XmlReader implements ContentReader { FileDescription.SHARED.setValues(attributes); attributes.clear(); } catch (ParseException e) { - throw new IOException("Error parsing file description", e); + IOException ioe = new IOException("Error parsing file description"); + ioe.initCause(e); + throw ioe; } FileDescription.SHARED.create(creator); FileDescription.SHARED.clear(); -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
