]> source.dussan.org Git - poi.git/commitdiff
Add missing nested Exception in thrown Exception
authorDominik Stadler <centic@apache.org>
Sun, 19 Apr 2015 12:35:19 +0000 (12:35 +0000)
committerDominik Stadler <centic@apache.org>
Sun, 19 Apr 2015 12:35:19 +0000 (12:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674618 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/model/ThemesTable.java

index 0e8f906339e7df5c8c68ff6c575e8570d6df7334..bf58989ccbdaeb2539698b8a7de998894064697b 100644 (file)
@@ -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);
         }
     }