diff options
Diffstat (limited to 'dotnet/Qpid.Messaging/QpidException.cs')
| -rw-r--r-- | dotnet/Qpid.Messaging/QpidException.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dotnet/Qpid.Messaging/QpidException.cs b/dotnet/Qpid.Messaging/QpidException.cs index 7f0c9873e5..dc3391898b 100644 --- a/dotnet/Qpid.Messaging/QpidException.cs +++ b/dotnet/Qpid.Messaging/QpidException.cs @@ -19,9 +19,11 @@ * */ using System; +using System.Runtime.Serialization; namespace Qpid.Messaging { + [Serializable] public class QpidException : Exception { public QpidException(string reason) : base(reason) @@ -32,5 +34,10 @@ namespace Qpid.Messaging : base(reason, e) { } + + protected QpidException(SerializationInfo info, StreamingContext ctxt) + : base(info, ctxt) + { + } } } |
