catch (IOException e) { if (logger.isEnabledFor(Level.ERROR)){ logger.error("Unbehandelte Exception", e); }
catch (Exception e) {
    public void closeAll() {        // So, let's shutdown everything        try        {            chatSocket.close();            fromServer.close();            toServer.close();        }        catch (IOException e)        {            if (logger.isEnabledFor(Level.ERROR)){                logger.error("Unbehandelte Exception", e);            }        }        chatSocket = null;        fromServer = null;        toServer = null;    }