summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs')
-rw-r--r--src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs b/src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs
index e26d15e..982e1c0 100644
--- a/src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs
+++ b/src/DotNetOpenAuth.Core/Messaging/ProtocolException.cs
@@ -42,10 +42,10 @@ namespace DotNetOpenAuth.Messaging {
/// such that it can be sent as a protocol message response to a remote caller.
/// </summary>
/// <param name="message">The human-readable exception message.</param>
- /// <param name="faultedMessage">The message that was the cause of the exception. Must not be null.</param>
- protected internal ProtocolException(string message, IProtocolMessage faultedMessage)
- : base(message) {
- Requires.NotNull(faultedMessage, "faultedMessage");
+ /// <param name="faultedMessage">The message that was the cause of the exception. May be null.</param>
+ /// <param name="innerException">The inner exception to include.</param>
+ protected internal ProtocolException(string message, IProtocolMessage faultedMessage, Exception innerException = null)
+ : base(message, innerException) {
this.FaultedMessage = faultedMessage;
}