modelRoot.getUserMessageLogger().println("Unable to " + "authenticate with server: " + e.toString());
modelRoot.getUserMessageLogger().println (Resources.get("Unable to authenticate with server: ") + e.toString());
    public void processServerCommand(ConnectionToServer c, ServerCommand s) {        if (s instanceof AddPlayerResponseCommand) {            synchronized (authMutex) {                authenticated = !((AddPlayerResponseCommand)s).isRejected();                if (authenticated) {                    System.out.println("Player was authenticated");                    modelRoot.setPlayerPrincipal(((AddPlayerResponseCommand)s).getPrincipal());                    playerConfirmed();                } else {                    System.out.println("Authentication was rejected");                }                authMutex.notify();            }        } else if (s instanceof WorldChangedCommand) {            try {                setConnectionImpl(c);            } catch (IOException e) {                modelRoot.getUserMessageLogger().println("Unable to open" +                    " remote connection");                closeConnection();            } catch (GeneralSecurityException e) {                modelRoot.getUserMessageLogger().println("Unable to " +                    "authenticate with server: " + e.toString());            }        }    }