summary refs log tree commit diff
path: root/crypto/src/security/KeyException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/security/KeyException.cs')
-rw-r--r--crypto/src/security/KeyException.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/crypto/src/security/KeyException.cs b/crypto/src/security/KeyException.cs
new file mode 100644
index 000000000..9304c1c4d
--- /dev/null
+++ b/crypto/src/security/KeyException.cs
@@ -0,0 +1,14 @@
+using System;
+
+namespace Org.BouncyCastle.Security
+{
+#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT)
+    [Serializable]
+#endif
+    public class KeyException : GeneralSecurityException
+	{
+		public KeyException() : base() { }
+		public KeyException(string message) : base(message) { }
+		public KeyException(string message, Exception exception) : base(message, exception) { }
+	}
+}