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 'pg/src/main/java/org/spongycastle/openpgp/PGPRuntimeOperationException.java')
-rw-r--r--pg/src/main/java/org/spongycastle/openpgp/PGPRuntimeOperationException.java19
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;
+ }
+}