aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/RuntimeCryptoException.java
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/RuntimeCryptoException.java')
-rw-r--r--libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/RuntimeCryptoException.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/RuntimeCryptoException.java b/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/RuntimeCryptoException.java
new file mode 100644
index 000000000..4eeb18f41
--- /dev/null
+++ b/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/RuntimeCryptoException.java
@@ -0,0 +1,26 @@
+package org.spongycastle.crypto;
+
+/**
+ * the foundation class for the exceptions thrown by the crypto packages.
+ */
+public class RuntimeCryptoException
+ extends RuntimeException
+{
+ /**
+ * base constructor.
+ */
+ public RuntimeCryptoException()
+ {
+ }
+
+ /**
+ * create a RuntimeCryptoException with the given message.
+ *
+ * @param message the message to be carried with the exception.
+ */
+ public RuntimeCryptoException(
+ String message)
+ {
+ super(message);
+ }
+}