summaryrefslogtreecommitdiff
path: root/src/org/spongycastle/util/io/pem/PemGenerationException.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-06-28 19:33:05 +0200
committerArne Schwabe <arne@rfc2549.org>2012-06-28 19:33:05 +0200
commit73d3b9c032eae2074726cd3668546af1c44a8323 (patch)
treec40b4e6447efa6d1d1c8618a3f79723f29e2db14 /src/org/spongycastle/util/io/pem/PemGenerationException.java
parent629417eb6b9db777b0db6b36d1c8ceb4c2760f7c (diff)
The 'be ready for Jelly Beans' commit
- fix concurrentaccess occuring on JB - JB does not allow to extract the private keys from the key storage, rewrite using the key storage to use JAVA API and the external-key management interface
Diffstat (limited to 'src/org/spongycastle/util/io/pem/PemGenerationException.java')
-rw-r--r--src/org/spongycastle/util/io/pem/PemGenerationException.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/org/spongycastle/util/io/pem/PemGenerationException.java b/src/org/spongycastle/util/io/pem/PemGenerationException.java
new file mode 100644
index 00000000..0127ca0c
--- /dev/null
+++ b/src/org/spongycastle/util/io/pem/PemGenerationException.java
@@ -0,0 +1,26 @@
+package org.spongycastle.util.io.pem;
+
+import java.io.IOException;
+
+@SuppressWarnings("serial")
+public class PemGenerationException
+ extends IOException
+{
+ private Throwable cause;
+
+ public PemGenerationException(String message, Throwable cause)
+ {
+ super(message);
+ this.cause = cause;
+ }
+
+ public PemGenerationException(String message)
+ {
+ super(message);
+ }
+
+ public Throwable getCause()
+ {
+ return cause;
+ }
+}