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