summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/ProtocolException.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-01 16:06:01 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-01 16:06:01 -0700
commit4e83c2d321f57cac5e5605097faf15bf1b46efa5 (patch)
tree3bb5c8dff9b56f1fd2e621417c0a2efcee94adbb /src/DotNetOAuth/ProtocolException.cs
parentd5fb1dbbc8388eac763ef85310097a618ff90437 (diff)
downloadDotNetOpenAuth-4e83c2d321f57cac5e5605097faf15bf1b46efa5.zip
DotNetOpenAuth-4e83c2d321f57cac5e5605097faf15bf1b46efa5.tar.gz
DotNetOpenAuth-4e83c2d321f57cac5e5605097faf15bf1b46efa5.tar.bz2
Lots of StyleCop changes.
Diffstat (limited to 'src/DotNetOAuth/ProtocolException.cs')
-rw-r--r--src/DotNetOAuth/ProtocolException.cs38
1 files changed, 33 insertions, 5 deletions
diff --git a/src/DotNetOAuth/ProtocolException.cs b/src/DotNetOAuth/ProtocolException.cs
index b2bd93f..4505c59 100644
--- a/src/DotNetOAuth/ProtocolException.cs
+++ b/src/DotNetOAuth/ProtocolException.cs
@@ -1,14 +1,42 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+//-----------------------------------------------------------------------
+// <copyright file="ProtocolException.cs" company="Andrew Arnott">
+// Copyright (c) Andrew Arnott. All rights reserved.
+// </copyright>
+//-----------------------------------------------------------------------
namespace DotNetOAuth {
- [global::System.Serializable]
+ 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)