summaryrefslogtreecommitdiff
path: root/dotnet/Qpid.Buffer/BufferOverflowException.cs
diff options
context:
space:
mode:
authorRobert Greig <rgreig@apache.org>2007-01-05 10:26:09 +0000
committerRobert Greig <rgreig@apache.org>2007-01-05 10:26:09 +0000
commita7c424416087c556ac045786009473f0e6d93e40 (patch)
tree2b1666b113d543de0502fed1182d4e266cd04eb9 /dotnet/Qpid.Buffer/BufferOverflowException.cs
parent4715a67339128b092cde470bc41ba054fa79fd3a (diff)
downloadqpid-python-a7c424416087c556ac045786009473f0e6d93e40.tar.gz
Patch for Qpid-246 applied. Makes exceptions serializable.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet/Qpid.Buffer/BufferOverflowException.cs')
-rw-r--r--dotnet/Qpid.Buffer/BufferOverflowException.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/dotnet/Qpid.Buffer/BufferOverflowException.cs b/dotnet/Qpid.Buffer/BufferOverflowException.cs
index b5896262da..2a7ad064d5 100644
--- a/dotnet/Qpid.Buffer/BufferOverflowException.cs
+++ b/dotnet/Qpid.Buffer/BufferOverflowException.cs
@@ -19,14 +19,22 @@
*
*/
using System;
+using System.Runtime.Serialization;
namespace Qpid.Buffer
{
+ [Serializable]
public class BufferOverflowException : Exception
{
public BufferOverflowException(string message) : base(message)
{
}
+
+ protected BufferOverflowException(SerializationInfo info, StreamingContext ctxt)
+ : base(info, ctxt)
+ {
+ }
}
}
+