summaryrefslogtreecommitdiff
path: root/qpid/dotnet/Qpid.Client/Client
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/dotnet/Qpid.Client/Client')
-rw-r--r--qpid/dotnet/Qpid.Client/Client/Failover/FailoverException.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/dotnet/Qpid.Client/Client/Failover/FailoverException.cs b/qpid/dotnet/Qpid.Client/Client/Failover/FailoverException.cs
index b13b28a66b..e2bc5b8a71 100644
--- a/qpid/dotnet/Qpid.Client/Client/Failover/FailoverException.cs
+++ b/qpid/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)
+ {
+ }
}
}