summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/ProtocolException.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-08-30 11:27:51 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-01 11:02:40 -0700
commit36f545864647177b36a4c8f26af0e842fda86e88 (patch)
tree274876b73b39361c70a7591015a62c28ddb60261 /src/DotNetOAuth/ProtocolException.cs
parent5df67c5b5bbd0c7463cec9b1f594d18de345a7d5 (diff)
downloadDotNetOpenAuth-36f545864647177b36a4c8f26af0e842fda86e88.zip
DotNetOpenAuth-36f545864647177b36a4c8f26af0e842fda86e88.tar.gz
DotNetOpenAuth-36f545864647177b36a4c8f26af0e842fda86e88.tar.bz2
Added message validation.
Diffstat (limited to 'src/DotNetOAuth/ProtocolException.cs')
-rw-r--r--src/DotNetOAuth/ProtocolException.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/DotNetOAuth/ProtocolException.cs b/src/DotNetOAuth/ProtocolException.cs
new file mode 100644
index 0000000..b2bd93f
--- /dev/null
+++ b/src/DotNetOAuth/ProtocolException.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace DotNetOAuth {
+ [global::System.Serializable]
+ public class ProtocolException : Exception {
+ public ProtocolException() { }
+ public ProtocolException(string message) : base(message) { }
+ public ProtocolException(string message, Exception inner) : base(message, inner) { }
+ protected ProtocolException(
+ System.Runtime.Serialization.SerializationInfo info,
+ System.Runtime.Serialization.StreamingContext context)
+ : base(info, context) { }
+ }
+}