diff options
Diffstat (limited to 'dotnet/Qpid.Common/AMQDisconnectedException.cs')
-rw-r--r-- | dotnet/Qpid.Common/AMQDisconnectedException.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dotnet/Qpid.Common/AMQDisconnectedException.cs b/dotnet/Qpid.Common/AMQDisconnectedException.cs index e7cb2ff590..5ea9672839 100644 --- a/dotnet/Qpid.Common/AMQDisconnectedException.cs +++ b/dotnet/Qpid.Common/AMQDisconnectedException.cs @@ -18,8 +18,13 @@ * under the License. * */ + +using System; +using System.Runtime.Serialization; + namespace Qpid { + [Serializable] public class AMQDisconnectedException : AMQException { public AMQDisconnectedException(int errorCode, string message) @@ -31,5 +36,10 @@ namespace Qpid : base(message) { } + + protected AMQDisconnectedException(SerializationInfo info, StreamingContext ctxt) + : base(info, ctxt) + { + } } } |