bug 59776: don't swallow cause of exception in ZipPackagePropertiesMashaller exception handling

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750893 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-07-01 09:14:41 +00:00
parent 1b086d3a35
commit b2f4150b06

View File

@ -56,7 +56,7 @@ public final class ZipPackagePropertiesMarshaller extends PackagePropertiesMarsh
}
zos.closeEntry();
} catch (IOException e) {
throw new OpenXML4JException(e.getLocalizedMessage());
throw new OpenXML4JException(e.getLocalizedMessage(), e);
}
return true;
}