diff options
Diffstat (limited to 'dotnet/Qpid.Messaging/MessageNotReadableException.cs')
-rw-r--r-- | dotnet/Qpid.Messaging/MessageNotReadableException.cs | 10 |
1 files changed, 10 insertions, 0 deletions
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) + { + } } } |