summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/Messaging/ProtocolException.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-13 17:20:53 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-13 17:20:53 -0700
commit09722c436047dccfb6b6294906013786f78d5d53 (patch)
treeb266c794ee5662235063e0ec37d6b938674084f6 /src/DotNetOAuth/Messaging/ProtocolException.cs
parentf665e1e639319918385fcc8397f8c0d5009e3bdd (diff)
downloadDotNetOpenAuth-09722c436047dccfb6b6294906013786f78d5d53.zip
DotNetOpenAuth-09722c436047dccfb6b6294906013786f78d5d53.tar.gz
DotNetOpenAuth-09722c436047dccfb6b6294906013786f78d5d53.tar.bz2
Refactored several Messaging classes into the Messaging.Bindings namespace.
Diffstat (limited to 'src/DotNetOAuth/Messaging/ProtocolException.cs')
-rw-r--r--src/DotNetOAuth/Messaging/ProtocolException.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/DotNetOAuth/Messaging/ProtocolException.cs b/src/DotNetOAuth/Messaging/ProtocolException.cs
index d7c3675..05ff340 100644
--- a/src/DotNetOAuth/Messaging/ProtocolException.cs
+++ b/src/DotNetOAuth/Messaging/ProtocolException.cs
@@ -120,16 +120,23 @@ namespace DotNetOAuth.Messaging {
/// <summary>
/// Gets the version of the protocol this message is prepared to implement.
/// </summary>
- Protocol IProtocolMessage.Protocol {
+ Version IProtocolMessage.ProtocolVersion {
get {
if (this.inResponseTo == null) {
throw new InvalidOperationException(MessagingStrings.ExceptionNotConstructedForTransit);
}
- return this.inResponseTo.Protocol;
+ return this.inResponseTo.ProtocolVersion;
}
}
/// <summary>
+ /// Gets the level of protection this exception requires when transmitted as a message.
+ /// </summary>
+ MessageProtection IProtocolMessage.RequiredProtection {
+ get { return MessageProtection.None; }
+ }
+
+ /// <summary>
/// Gets whether this is a direct or indirect message.
/// </summary>
MessageTransport IProtocolMessage.Transport {