diff options
author | Gordon Sim <gsim@apache.org> | 2011-07-14 08:41:57 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2011-07-14 08:41:57 +0000 |
commit | f86abf60f63019062c2b102c7298ecaecfe1dc39 (patch) | |
tree | e7a7c526cf700e8736cbacbe06090d2fa41b6639 /dotnet/Qpid.Codec/ProtocolDecoderException.cs | |
parent | b4f74c44b73e0e3ca21a0c39487135bdab12e4af (diff) | |
download | qpid-python-f86abf60f63019062c2b102c7298ecaecfe1dc39.tar.gz |
NO-JIRA: Removed ruby and dotnet projects
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1146598 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet/Qpid.Codec/ProtocolDecoderException.cs')
-rw-r--r-- | dotnet/Qpid.Codec/ProtocolDecoderException.cs | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/dotnet/Qpid.Codec/ProtocolDecoderException.cs b/dotnet/Qpid.Codec/ProtocolDecoderException.cs deleted file mode 100644 index 8e7e6da145..0000000000 --- a/dotnet/Qpid.Codec/ProtocolDecoderException.cs +++ /dev/null @@ -1,70 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ -using System; -using System.Runtime.Serialization; - -namespace Apache.Qpid.Codec -{ - [Serializable] - public class ProtocolDecoderException : ProtocolCodecException - { - private string _hexdump; - - public ProtocolDecoderException() : base() - { - } - - public ProtocolDecoderException(string message) : base(message) - { - } - - public ProtocolDecoderException(Exception cause) : base(cause) - { - } - - protected ProtocolDecoderException(SerializationInfo info, StreamingContext ctxt) - : base(info, ctxt) - { - _hexdump = info.GetString("HexDump"); - } - - public string HexDump - { - get - { - return _hexdump; - } - set - { - _hexdump = value; - } - } - - public override void GetObjectData(SerializationInfo info, StreamingContext context) - { - base.GetObjectData(info, context); - info.AddValue("HexDump", _hexdump); - } - } -} - - - |