diff options
Diffstat (limited to 'prov/src/main/java/org/spongycastle/jce/exception/ExtCertPathValidatorException.java')
-rw-r--r-- | prov/src/main/java/org/spongycastle/jce/exception/ExtCertPathValidatorException.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/prov/src/main/java/org/spongycastle/jce/exception/ExtCertPathValidatorException.java b/prov/src/main/java/org/spongycastle/jce/exception/ExtCertPathValidatorException.java new file mode 100644 index 00000000..da9003aa --- /dev/null +++ b/prov/src/main/java/org/spongycastle/jce/exception/ExtCertPathValidatorException.java @@ -0,0 +1,30 @@ +package org.spongycastle.jce.exception; + +import java.security.cert.CertPath; +import java.security.cert.CertPathValidatorException; + +public class ExtCertPathValidatorException + extends CertPathValidatorException + implements ExtException +{ + + private Throwable cause; + + public ExtCertPathValidatorException(String message, Throwable cause) + { + super(message); + this.cause = cause; + } + + public ExtCertPathValidatorException(String msg, Throwable cause, + CertPath certPath, int index) + { + super(msg, cause, certPath, index); + this.cause = cause; + } + + public Throwable getCause() + { + return cause; + } +} |