[Modify] Polish it
This commit is contained in:
parent
8aebf24d2a
commit
b5208c9c09
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user