Include nested exception
@@ -481,7 +481,7 @@ static void checkCertificate(X509Certificate cert)
}
catch (CertificateEncodingException e)
{
- throw new AnnotatedException("unable to process TBSCertificate");
+ throw new AnnotatedException("unable to process TBSCertificate", e);
}
catch (IllegalArgumentException e)
{
