@ -104,8 +104,11 @@ namespace WebSocketSharp.Net
throw new HttpListenerException (87, msg);
}
if (!port.IsPortNumber ())
if (!port.IsPortNumber ()) {
throw new HttpListenerException (87, "Includes an invalid port.");
var msg = "The URI prefix includes an invalid port.";
var path = pref.Path;