summaryrefslogtreecommitdiffstats
path: root/base/util
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2015-01-28 02:37:12 -0500
committerFraser Tweedale <ftweedal@redhat.com>2015-04-16 20:08:13 -0400
commit679381d555e47e544b6ece60490bf4ebddbb43fa (patch)
tree7ae18ffd0a744d7c30450cb8c9aafa304b1b346e /base/util
parentbc6449b6145a2b51d5332551332b3db0b0a9f345 (diff)
downloadpki-679381d555e47e544b6ece60490bf4ebddbb43fa.tar.gz
pki-679381d555e47e544b6ece60490bf4ebddbb43fa.tar.xz
pki-679381d555e47e544b6ece60490bf4ebddbb43fa.zip
Chain InvocationTargetException thrown during PKCS10Attribute decoding
Diffstat (limited to 'base/util')
-rw-r--r--base/util/src/netscape/security/pkcs/PKCS10Attribute.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/util/src/netscape/security/pkcs/PKCS10Attribute.java b/base/util/src/netscape/security/pkcs/PKCS10Attribute.java
index 16c563b9e..109990dfc 100644
--- a/base/util/src/netscape/security/pkcs/PKCS10Attribute.java
+++ b/base/util/src/netscape/security/pkcs/PKCS10Attribute.java
@@ -129,7 +129,7 @@ public class PKCS10Attribute implements DerEncoder, Serializable {
attributeValue = new ACertAttrSet(inAttrValue);
}
} catch (InvocationTargetException invk) {
- throw new IOException(invk.getTargetException().getMessage());
+ throw new IOException(invk.getTargetException().getMessage(), invk);
} catch (Exception e) {
throw new IOException(e.toString());
}