@Override
  protected Socket sendMessage(Socket socket, String message) {
    try {
      return super.sendMessage(socket, message);
    }
    catch (IOException e) {
      getLogger().severe(String.format("Failed to send message [%1$s] to EchoServer [%2$s]",
        message, socket.getRemoteSocketAddress()));

      getLogger().severe(ThrowableUtils.getStackTrace(e));

      return socket;
    }
  }
@ Override protected Socket sendMessage ( Socket socket , String message ) { try { return super . sendMessage ( socket , message ) ; } catch ( IOException e ) { getLogger ( ) . severe ( String . format ( "Failed to send message [%1$s] to EchoServer [%2$s]" , message , socket . getRemoteSocketAddress ( ) ) ) ; getLogger ( ) . severe ( ThrowableUtils . getStackTrace ( e ) ) ; return socket ; } }
/* (non-Javadoc)