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.Codec/ProtocolCodecException.cs | |
| 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.Codec/ProtocolCodecException.cs')
| -rw-r--r-- | dotnet/Qpid.Codec/ProtocolCodecException.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dotnet/Qpid.Codec/ProtocolCodecException.cs b/dotnet/Qpid.Codec/ProtocolCodecException.cs index 797b475f19..a7d7bd9cb2 100644 --- a/dotnet/Qpid.Codec/ProtocolCodecException.cs +++ b/dotnet/Qpid.Codec/ProtocolCodecException.cs @@ -19,9 +19,11 @@ * */ using System; +using System.Runtime.Serialization; namespace Qpid.Codec { + [Serializable] public class ProtocolCodecException : Exception { public ProtocolCodecException() : base() @@ -35,6 +37,12 @@ namespace Qpid.Codec public ProtocolCodecException(Exception cause) : base("Codec Exception", cause) { } + + protected ProtocolCodecException(SerializationInfo info, StreamingContext ctxt) + : base(info, ctxt) + { + } } } + |
