Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'prov/src/main/java/org/spongycastle/jce/exception/ExtCertPathBuilderException.java')
-rw-r--r--prov/src/main/java/org/spongycastle/jce/exception/ExtCertPathBuilderException.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/prov/src/main/java/org/spongycastle/jce/exception/ExtCertPathBuilderException.java b/prov/src/main/java/org/spongycastle/jce/exception/ExtCertPathBuilderException.java
new file mode 100644
index 00000000..65c0e4c4
--- /dev/null
+++ b/prov/src/main/java/org/spongycastle/jce/exception/ExtCertPathBuilderException.java
@@ -0,0 +1,29 @@
+package org.spongycastle.jce.exception;
+
+import java.security.cert.CertPath;
+import java.security.cert.CertPathBuilderException;
+
+public class ExtCertPathBuilderException
+ extends CertPathBuilderException
+ implements ExtException
+{
+ private Throwable cause;
+
+ public ExtCertPathBuilderException(String message, Throwable cause)
+ {
+ super(message);
+ this.cause = cause;
+ }
+
+ public ExtCertPathBuilderException(String msg, Throwable cause,
+ CertPath certPath, int index)
+ {
+ super(msg, cause);
+ this.cause = cause;
+ }
+
+ public Throwable getCause()
+ {
+ return cause;
+ }
+}