JSR-356 fixing oddly worded exception

This commit is contained in:
Joakim Erdfelt 2013-07-26 14:03:09 -07:00
parent 941989e5cb
commit 6076e05bf6
1 changed files with 1 additions and 1 deletions

View File

@ -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();