@Override public void fail(Throwable exn){
  log.log(Level.WARNING,exn.toString(),exn);
}

@ Override public void fail ( Throwable exn ) { log . log ( Level . WARNING , exn . toString ( ) , exn ) ; }
close the websocket with a failure .
