diff options
Diffstat (limited to 'dotnet/Qpid.Buffer/BufferOverflowException.cs')
-rw-r--r-- | dotnet/Qpid.Buffer/BufferOverflowException.cs | 8 |
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) + { + } } } + |