]> source.dussan.org Git - poi.git/commitdiff
bug 59776: don't swallow cause of exception in ZipPackagePropertiesMashaller exceptio...
authorJaven O'Neal <onealj@apache.org>
Fri, 1 Jul 2016 09:14:41 +0000 (09:14 +0000)
committerJaven O'Neal <onealj@apache.org>
Fri, 1 Jul 2016 09:14:41 +0000 (09:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750893 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPackagePropertiesMarshaller.java

index 07123b22dc0befcd23a752eb1d845241a716256f..6b4b215518550d6f39b5db8545d23ddcd4bef5c4 100644 (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;
        }