>From dafec603f047d4d91a90c8718d4280599f45c374 Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Wed, 28 Jan 2015 02:37:12 -0500 Subject: [PATCH 21/23] Chain InvocationTargetException thrown during PKCS10Attribute decoding --- base/util/src/netscape/security/pkcs/PKCS10Attribute.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/util/src/netscape/security/pkcs/PKCS10Attribute.java b/base/util/src/netscape/security/pkcs/PKCS10Attribute.java index 16c563b9e00402780cebc623c969b82248f9afbf..109990dfcc0c3ffe33540d01e1fe9f2b64d739a9 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()); } -- 2.1.0