summary refs log tree commit diff
path: root/crypto/src/cms/CMSStreamException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/cms/CMSStreamException.cs')
-rw-r--r--crypto/src/cms/CMSStreamException.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/crypto/src/cms/CMSStreamException.cs b/crypto/src/cms/CMSStreamException.cs
new file mode 100644
index 000000000..bf0a6adf4
--- /dev/null
+++ b/crypto/src/cms/CMSStreamException.cs
@@ -0,0 +1,29 @@
+using System;
+using System.IO;
+
+namespace Org.BouncyCastle.Cms
+{
+#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT)
+    [Serializable]
+#endif
+    public class CmsStreamException
+        : IOException
+    {
+		public CmsStreamException()
+		{
+		}
+
+		public CmsStreamException(
+			string name)
+			: base(name)
+        {
+        }
+
+		public CmsStreamException(
+			string		name,
+			Exception	e)
+			: base(name, e)
+        {
+        }
+    }
+}