[Modify] Polish it

This commit is contained in:
sta 2021-07-09 19:32:28 +09:00
parent 8aebf24d2a
commit b5208c9c09

View File

@ -205,7 +205,8 @@ namespace WebSocketSharp.Server
public HttpServer (int port, bool secure) public HttpServer (int port, bool secure)
{ {
if (!port.IsPortNumber ()) { if (!port.IsPortNumber ()) {
var msg = "Less than 1 or greater than 65535."; var msg = "It is less than 1 or greater than 65535.";
throw new ArgumentOutOfRangeException ("port", msg); throw new ArgumentOutOfRangeException ("port", msg);
} }