diff options
author | Robert Greig <rgreig@apache.org> | 2007-01-05 17:00:41 +0000 |
---|---|---|
committer | Robert Greig <rgreig@apache.org> | 2007-01-05 17:00:41 +0000 |
commit | c37fb7c4b27419cae13c45fb38e24506fd009ea4 (patch) | |
tree | 4c0a380c17f0406fe95aa2ece26d52759f200800 /dotnet/Qpid.Common/Framing/AMQFrameDecodingException.cs | |
parent | 2d976b546f26b04f41606df6675f3217058d2d6f (diff) | |
download | qpid-python-c37fb7c4b27419cae13c45fb38e24506fd009ea4.tar.gz |
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
Diffstat (limited to 'dotnet/Qpid.Common/Framing/AMQFrameDecodingException.cs')
-rw-r--r-- | dotnet/Qpid.Common/Framing/AMQFrameDecodingException.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dotnet/Qpid.Common/Framing/AMQFrameDecodingException.cs b/dotnet/Qpid.Common/Framing/AMQFrameDecodingException.cs index e7223c9850..82891b5986 100644 --- a/dotnet/Qpid.Common/Framing/AMQFrameDecodingException.cs +++ b/dotnet/Qpid.Common/Framing/AMQFrameDecodingException.cs @@ -19,6 +19,7 @@ * */ using System; +using System.Runtime.Serialization; using log4net; namespace Qpid.Framing @@ -27,6 +28,7 @@ namespace Qpid.Framing /// Thrown when a frame cannot be decoded. This generally indicates a mismatch between the broker and the /// client. /// </summary> + [Serializable] public class AMQFrameDecodingException : AMQException { public AMQFrameDecodingException(string message) @@ -47,6 +49,11 @@ namespace Qpid.Framing public AMQFrameDecodingException(ILog logger, string message, Exception innerException) : base(logger, message, innerException) { - } + } + + protected AMQFrameDecodingException(SerializationInfo info, StreamingContext ctxt) + : base(info, ctxt) + { + } } } |