From c37fb7c4b27419cae13c45fb38e24506fd009ea4 Mon Sep 17 00:00:00 2001 From: Robert Greig Date: Fri, 5 Jan 2007 17:00:41 +0000 Subject: Qpid-246-2 patch applied. Adds serializability to exceptions missed by the first patch. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@493087 13f79535-47bb-0310-9956-ffa450edef68 --- dotnet/Qpid.Messaging/MessageNotReadableException.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'dotnet/Qpid.Messaging/MessageNotReadableException.cs') diff --git a/dotnet/Qpid.Messaging/MessageNotReadableException.cs b/dotnet/Qpid.Messaging/MessageNotReadableException.cs index 077a15e719..5a919c2ced 100644 --- a/dotnet/Qpid.Messaging/MessageNotReadableException.cs +++ b/dotnet/Qpid.Messaging/MessageNotReadableException.cs @@ -18,12 +18,22 @@ * under the License. * */ + +using System; +using System.Runtime.Serialization; + namespace Qpid.Messaging { + [Serializable] public class MessageNotReadableException : QpidException { public MessageNotReadableException(string reason) : base(reason) { } + + protected MessageNotReadableException(SerializationInfo info, StreamingContext ctxt) + : base(info, ctxt) + { + } } } -- cgit v1.2.1