Tweaked exception message
import org.bouncycastle.jcajce.PKIXExtendedBuilderParameters;
import org.bouncycastle.jcajce.PKIXExtendedParameters;
import org.bouncycastle.jcajce.util.JcaJceHelper;
-import org.bouncycastle.jce.PrincipalUtil;
import org.bouncycastle.jce.exception.ExtCertPathValidatorException;
import org.bouncycastle.util.Arrays;
@@ -2421,8 +2420,7 @@ protected static void wrapupCertF(
}
catch (CertPathValidatorException e)
{
- throw new ExtCertPathValidatorException("Additional certificate path checker failed.", e, certPath,
- index);
+ throw new ExtCertPathValidatorException(e.getMessage(), e, certPath, index);
}
}
