summaryrefslogtreecommitdiff
path: root/dotnet/Qpid.Common/AMQConnectionClosedException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'dotnet/Qpid.Common/AMQConnectionClosedException.cs')
-rw-r--r--dotnet/Qpid.Common/AMQConnectionClosedException.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/dotnet/Qpid.Common/AMQConnectionClosedException.cs b/dotnet/Qpid.Common/AMQConnectionClosedException.cs
index 06d30e3d0a..977dcee73a 100644
--- a/dotnet/Qpid.Common/AMQConnectionClosedException.cs
+++ b/dotnet/Qpid.Common/AMQConnectionClosedException.cs
@@ -18,13 +18,23 @@
* under the License.
*
*/
+
+using System;
+using System.Runtime.Serialization;
+
namespace Qpid
{
+ [Serializable]
public class AMQConnectionClosedException : AMQException
{
public AMQConnectionClosedException(int errorCode, string message)
: base(errorCode, message)
{
}
+
+ protected AMQConnectionClosedException(SerializationInfo info, StreamingContext ctxt)
+ : base(info, ctxt)
+ {
+ }
}
}