[Modify] Polish it

master
sta 6 years ago
parent 3e6f9e512d
commit 1d394de40c

@ -198,7 +198,9 @@ namespace WebSocketSharp.Net
}
set {
checkDisposed ();
if (_disposed)
throw new ObjectDisposedException (GetType ().ToString ());
if (value != null && value.Length == 0)
throw new ArgumentException ("An empty string.", "value");

Loading…
Cancel
Save