[Modify] Polish it

This commit is contained in:
sta 2016-12-12 17:07:47 +09:00
parent b255601dc3
commit a49dad8733

View File

@ -2715,7 +2715,7 @@ namespace WebSocketSharp
byte[] bytes;
if (!message.TryGetUTF8EncodedBytes (out bytes))
throw new ArgumentException ("It could not be UTF8 encoded.", "message");
throw new ArgumentException ("It could not be UTF-8-encoded.", "message");
if (bytes.Length > 125) {
var msg = "Its size is greater than 125 bytes.";