[Modify] Polish it
This commit is contained in:
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…
Reference in New Issue
Block a user