01: package org.bouncycastle.jce.exception;
02:
03: import java.security.cert.CertPath;
04: import java.security.cert.CertPathValidatorException;
05:
06: public class ExtCertPathValidatorException extends
07: CertPathValidatorException implements ExtException {
08:
09: private Throwable cause;
10:
11: public ExtCertPathValidatorException(String message, Throwable cause) {
12: super (message);
13: this .cause = cause;
14: }
15:
16: public ExtCertPathValidatorException(String msg, Throwable cause,
17: CertPath certPath, int index) {
18: super (msg, cause, certPath, index);
19: this .cause = cause;
20: }
21:
22: public Throwable getCause() {
23: return cause;
24: }
25: }
|