[Modify] Polish it
This commit is contained in:
parent
5ca24dceb3
commit
b70705ee95
@ -962,7 +962,7 @@ namespace WebSocketSharp.Net
|
|||||||
throw new ArgumentNullException ("cookie");
|
throw new ArgumentNullException ("cookie");
|
||||||
|
|
||||||
if (!canAddOrUpdate (cookie)) {
|
if (!canAddOrUpdate (cookie)) {
|
||||||
var msg = "It cannot be replaced.";
|
var msg = "It cannot be updated.";
|
||||||
throw new ArgumentException (msg, "cookie");
|
throw new ArgumentException (msg, "cookie");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user