diff options
author | Robert Greig <rgreig@apache.org> | 2007-01-05 10:26:09 +0000 |
---|---|---|
committer | Robert Greig <rgreig@apache.org> | 2007-01-05 10:26:09 +0000 |
commit | a7c424416087c556ac045786009473f0e6d93e40 (patch) | |
tree | 2b1666b113d543de0502fed1182d4e266cd04eb9 /dotnet/Qpid.Client/Client | |
parent | 4715a67339128b092cde470bc41ba054fa79fd3a (diff) | |
download | qpid-python-a7c424416087c556ac045786009473f0e6d93e40.tar.gz |
Patch for Qpid-246 applied. Makes exceptions serializable.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet/Qpid.Client/Client')
-rw-r--r-- | dotnet/Qpid.Client/Client/Failover/FailoverException.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dotnet/Qpid.Client/Client/Failover/FailoverException.cs b/dotnet/Qpid.Client/Client/Failover/FailoverException.cs index b13b28a66b..e2bc5b8a71 100644 --- a/dotnet/Qpid.Client/Client/Failover/FailoverException.cs +++ b/dotnet/Qpid.Client/Client/Failover/FailoverException.cs @@ -19,6 +19,7 @@ * */ using System; +using System.Runtime.Serialization; namespace Qpid.Client.Failover { @@ -26,10 +27,16 @@ namespace Qpid.Client.Failover /// This exception is thrown when failover is taking place and we need to let other /// parts of the client know about this. /// </summary> + [Serializable] class FailoverException : Exception { public FailoverException(String message) : base(message) { } + + protected FailoverException(SerializationInfo info, StreamingContext ctxt) + : base(info, ctxt) + { + } } } |