diff options
Diffstat (limited to 'pkix/src/main/java/org/spongycastle/cert/CertIOException.java')
-rw-r--r-- | pkix/src/main/java/org/spongycastle/cert/CertIOException.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkix/src/main/java/org/spongycastle/cert/CertIOException.java b/pkix/src/main/java/org/spongycastle/cert/CertIOException.java new file mode 100644 index 00000000..f21641d6 --- /dev/null +++ b/pkix/src/main/java/org/spongycastle/cert/CertIOException.java @@ -0,0 +1,29 @@ +package org.spongycastle.cert; + +import java.io.IOException; + +/** + * General IOException thrown in the cert package and its sub-packages. + */ +public class CertIOException + extends IOException +{ + private Throwable cause; + + public CertIOException(String msg, Throwable cause) + { + super(msg); + + this.cause = cause; + } + + public CertIOException(String msg) + { + super(msg); + } + + public Throwable getCause() + { + return cause; + } +} |