poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1553339 - /poi/trunk/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java
Date Tue, 24 Dec 2013 23:49:10 GMT
Author: kiwiwings
Date: Tue Dec 24 23:49:10 2013
New Revision: 1553339

URL: http://svn.apache.org/r1553339
Log:
Fix jdk-differences for encryption patch

Modified:
    poi/trunk/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java

Modified: poi/trunk/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java?rev=1553339&r1=1553338&r2=1553339&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java (original)
+++ poi/trunk/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java Tue Dec 24 23:49:10
2013
@@ -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);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message