summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth.Test/Mocks/TestChannel.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-09 17:23:26 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-09 17:23:26 -0700
commit32ac38940a40a70c171eedc72b4aacdbba692279 (patch)
treeaf919b96edd57fcf05d9c98fac66edcd807c3e5c /src/DotNetOAuth.Test/Mocks/TestChannel.cs
parent6f2ee87f545b26ed320aad94be5fd042c409f5f9 (diff)
downloadDotNetOpenAuth-32ac38940a40a70c171eedc72b4aacdbba692279.zip
DotNetOpenAuth-32ac38940a40a70c171eedc72b4aacdbba692279.tar.gz
DotNetOpenAuth-32ac38940a40a70c171eedc72b4aacdbba692279.tar.bz2
Refactored the exception handling in the channel stack.
Diffstat (limited to 'src/DotNetOAuth.Test/Mocks/TestChannel.cs')
-rw-r--r--src/DotNetOAuth.Test/Mocks/TestChannel.cs12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/DotNetOAuth.Test/Mocks/TestChannel.cs b/src/DotNetOAuth.Test/Mocks/TestChannel.cs
index 632257e..359019f 100644
--- a/src/DotNetOAuth.Test/Mocks/TestChannel.cs
+++ b/src/DotNetOAuth.Test/Mocks/TestChannel.cs
@@ -17,23 +17,15 @@ namespace DotNetOAuth.Test.Mocks {
}
protected internal override IProtocolMessage Request(IDirectedProtocolMessage request) {
- throw new NotImplementedException();
+ throw new NotImplementedException("Request");
}
protected internal override IProtocolMessage ReadFromResponse(System.IO.Stream responseStream) {
- throw new NotImplementedException();
+ throw new NotImplementedException("ReadFromResponse");
}
protected override void SendDirectMessageResponse(IProtocolMessage response) {
throw new NotImplementedException("SendDirectMessageResponse");
}
-
- protected override void ReportErrorToUser(ProtocolException exception) {
- throw new NotImplementedException();
- }
-
- protected override void ReportErrorAsDirectResponse(ProtocolException exception) {
- throw new NotImplementedException();
- }
}
}