summaryrefslogtreecommitdiff
path: root/dotnet/Qpid.Buffer/BufferUnderflowException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'dotnet/Qpid.Buffer/BufferUnderflowException.cs')
-rw-r--r--dotnet/Qpid.Buffer/BufferUnderflowException.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/dotnet/Qpid.Buffer/BufferUnderflowException.cs b/dotnet/Qpid.Buffer/BufferUnderflowException.cs
index 9de6b6558f..c0cb850e63 100644
--- a/dotnet/Qpid.Buffer/BufferUnderflowException.cs
+++ b/dotnet/Qpid.Buffer/BufferUnderflowException.cs
@@ -19,15 +19,23 @@
*
*/
using System;
+using System.Runtime.Serialization;
namespace Qpid.Buffer
{
+ [Serializable]
public class BufferUnderflowException : Exception
{
public BufferUnderflowException(string message)
: base(message)
{
}
+
+ protected BufferUnderflowException(SerializationInfo info, StreamingContext ctxt)
+ : base(info, ctxt)
+ {
+ }
}
}
+