Add missing nested Exception in thrown Exception

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1674618 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2015-04-19 12:35:19 +00:00
parent b3c46f90c1
commit 37a7733b45

View 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);
}
}