1 package org.bouncycastle.jce.exception; 2 3 import java.security.cert.CertPath; 4 import java.security.cert.CertPathValidatorException; 5 6 public class ExtCertPathValidatorException 7 extends CertPathValidatorException 8 implements ExtException 9 { 10 11 private Throwable cause; 12 ExtCertPathValidatorException(String message, Throwable cause)13 public ExtCertPathValidatorException(String message, Throwable cause) 14 { 15 super(message); 16 this.cause = cause; 17 } 18 ExtCertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index)19 public ExtCertPathValidatorException(String msg, Throwable cause, 20 CertPath certPath, int index) 21 { 22 super(msg, cause, certPath, index); 23 this.cause = cause; 24 } 25 getCause()26 public Throwable getCause() 27 { 28 return cause; 29 } 30 } 31