diff options
Diffstat (limited to 'pg/src/main/java/org/bouncycastle/openpgp/PGPException.java')
-rw-r--r-- | pg/src/main/java/org/bouncycastle/openpgp/PGPException.java | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/pg/src/main/java/org/bouncycastle/openpgp/PGPException.java b/pg/src/main/java/org/bouncycastle/openpgp/PGPException.java deleted file mode 100644 index 0420fcd8..00000000 --- a/pg/src/main/java/org/bouncycastle/openpgp/PGPException.java +++ /dev/null @@ -1,35 +0,0 @@ -package org.bouncycastle.openpgp; - -/** - * generic exception class for PGP encoding/decoding problems - */ -public class PGPException - extends Exception -{ - Exception underlying; - - public PGPException( - String message) - { - super(message); - } - - public PGPException( - String message, - Exception underlying) - { - super(message); - this.underlying = underlying; - } - - public Exception getUnderlyingException() - { - return underlying; - } - - - public Throwable getCause() - { - return underlying; - } -} |