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 facbded856
commit 63598c852d
1 changed files with 1 additions and 1 deletions

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