diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-09 17:23:26 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-09 17:23:26 -0700 |
commit | 32ac38940a40a70c171eedc72b4aacdbba692279 (patch) | |
tree | af919b96edd57fcf05d9c98fac66edcd807c3e5c /src/DotNetOAuth/ProtocolException.cs | |
parent | 6f2ee87f545b26ed320aad94be5fd042c409f5f9 (diff) | |
download | DotNetOpenAuth-32ac38940a40a70c171eedc72b4aacdbba692279.zip DotNetOpenAuth-32ac38940a40a70c171eedc72b4aacdbba692279.tar.gz DotNetOpenAuth-32ac38940a40a70c171eedc72b4aacdbba692279.tar.bz2 |
Refactored the exception handling in the channel stack.
Diffstat (limited to 'src/DotNetOAuth/ProtocolException.cs')
-rw-r--r-- | src/DotNetOAuth/ProtocolException.cs | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/DotNetOAuth/ProtocolException.cs b/src/DotNetOAuth/ProtocolException.cs deleted file mode 100644 index 4505c59..0000000 --- a/src/DotNetOAuth/ProtocolException.cs +++ /dev/null @@ -1,45 +0,0 @@ -//-----------------------------------------------------------------------
-// <copyright file="ProtocolException.cs" company="Andrew Arnott">
-// Copyright (c) Andrew Arnott. All rights reserved.
-// </copyright>
-//-----------------------------------------------------------------------
-
-namespace DotNetOAuth {
- using System;
-
- /// <summary>
- /// An exception to represent errors in the local or remote implementation of the protocol.
- /// </summary>
- [Serializable]
- public class ProtocolException : Exception {
- /// <summary>
- /// Initializes a new instance of the <see cref="ProtocolException"/> class.
- /// </summary>
- public ProtocolException() { }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="ProtocolException"/> class.
- /// </summary>
- /// <param name="message">A message describing the specific error the occurred or was detected.</param>
- public ProtocolException(string message) : base(message) { }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="ProtocolException"/> class.
- /// </summary>
- /// <param name="message">A message describing the specific error the occurred or was detected.</param>
- /// <param name="inner">The inner exception to include.</param>
- public ProtocolException(string message, Exception inner) : base(message, inner) { }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="ProtocolException"/> class.
- /// </summary>
- /// <param name="info">The <see cref="System.Runtime.Serialization.SerializationInfo"/>
- /// that holds the serialized object data about the exception being thrown.</param>
- /// <param name="context">The System.Runtime.Serialization.StreamingContext
- /// that contains contextual information about the source or destination.</param>
- protected ProtocolException(
- System.Runtime.Serialization.SerializationInfo info,
- System.Runtime.Serialization.StreamingContext context)
- : base(info, context) { }
- }
-}
|