1package org.bouncycastle.jce.exception; 2 3import java.security.cert.CertPath; 4import java.security.cert.CertPathValidatorException; 5 6public class ExtCertPathValidatorException 7 extends CertPathValidatorException 8 implements ExtException 9{ 10 11 private Throwable cause; 12 13 public ExtCertPathValidatorException(String message, Throwable cause) 14 { 15 super(message); 16 this.cause = cause; 17 } 18 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 26 public Throwable getCause() 27 { 28 return cause; 29 } 30} 31