diff options
-rw-r--r-- | src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java b/src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java index 6e5c913a3b..25f9b01e15 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 (IOException)new IOException().initCause(e); + throw new IOException(e); } eib.initialize(this, dis); |