From: Andreas Beeker Date: Tue, 24 Dec 2013 23:49:10 +0000 (+0000) Subject: Fix jdk-differences for encryption patch X-Git-Tag: REL_3_10_FINAL~27 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5fd22dd31ac5bda12a8d6e1fab6c09243d357d8a;p=poi.git Fix jdk-differences for encryption patch git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553339 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java b/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java index 25f9b01e15..6e5c913a3b 100644 --- a/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java +++ b/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java @@ -66,7 +66,7 @@ public class EncryptionInfo { try { eib = getBuilder(encryptionMode); } catch (Exception e) { - throw new IOException(e); + throw (IOException)new IOException().initCause(e); } eib.initialize(this, dis);