JSR-356 fixing oddly worded exception
This commit is contained in:
parent
941989e5cb
commit
6076e05bf6
|
@ -77,7 +77,7 @@ public class JsrSession extends WebSocketSession implements javax.websocket.Sess
|
|||
super(requestURI,websocket,connection);
|
||||
if (!(websocket instanceof AbstractJsrEventDriver))
|
||||
{
|
||||
throw new IllegalArgumentException("Cannot non JSR WebSocket: " + websocket);
|
||||
throw new IllegalArgumentException("Cannot use, not a JSR WebSocket: " + websocket);
|
||||
}
|
||||
AbstractJsrEventDriver jsr = (AbstractJsrEventDriver)websocket;
|
||||
this.config = jsr.getConfig();
|
||||
|
|
Loading…
Reference in New Issue