From: Dominik Stadler Date: Sun, 19 Apr 2015 12:35:19 +0000 (+0000) Subject: Add missing nested Exception in thrown Exception X-Git-Tag: REL_3_12_FINAL~54 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=63598c852daef5cb6583b353a0f766d0f9cf9b4d;p=poi.git Add missing nested Exception in thrown Exception git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674618 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/java/org/apache/poi/xssf/model/ThemesTable.java b/src/ooxml/java/org/apache/poi/xssf/model/ThemesTable.java index 0e8f906339..bf58989ccb 100644 --- a/src/ooxml/java/org/apache/poi/xssf/model/ThemesTable.java +++ b/src/ooxml/java/org/apache/poi/xssf/model/ThemesTable.java @@ -45,7 +45,7 @@ public class ThemesTable extends POIXMLDocumentPart { try { theme = ThemeDocument.Factory.parse(part.getInputStream()); } catch(XmlException e) { - throw new IOException(e.getLocalizedMessage()); + throw new IOException(e.getLocalizedMessage(), e); } }