diff options
Diffstat (limited to 'pg/src/main/java/org/spongycastle/openpgp/PGPRuntimeOperationException.java')
-rw-r--r-- | pg/src/main/java/org/spongycastle/openpgp/PGPRuntimeOperationException.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pg/src/main/java/org/spongycastle/openpgp/PGPRuntimeOperationException.java b/pg/src/main/java/org/spongycastle/openpgp/PGPRuntimeOperationException.java new file mode 100644 index 00000000..8e64ce7e --- /dev/null +++ b/pg/src/main/java/org/spongycastle/openpgp/PGPRuntimeOperationException.java @@ -0,0 +1,19 @@ +package org.spongycastle.openpgp; + +public class PGPRuntimeOperationException + extends RuntimeException +{ + private final Throwable cause; + + public PGPRuntimeOperationException(String message, Throwable cause) + { + super(message); + + this.cause = cause; + } + + public Throwable getCause() + { + return cause; + } +} |