String line = fromServer.readLine();
String line = null; try{ line = fromServer.readLine(); } catch (SocketException se){ line = null; }
    public void start() {        if (ircWorker != null) {            ircWorker.interrupt();            ircWorker = null;        }        ircWorker = new Thread() {            public void run() {                try {                    while (!isInterrupted()) {                        if (fromServer == null) {                            try {                                sleep(5000);                                continue;                            }                            catch (InterruptedException e) {                                interrupt();                            }                        }                        String line = fromServer.readLine();                        if (line != null) {                            parseFromServer(line);                        }                        else {                            // a null line indicates that our server has                            // closed the connection, right?                            tabUpdate("Init Window",                                      "Server closed the connection or network is fucked.");                            closeAll();                            createConnection.setText(verbinden);                            createConnection.removeActionListener(                                disconnectActionListener);                            createConnection.addActionListener(                                connectActionListener);                            createConnection.setEnabled(true);                            break;                        }                    }                }                catch (IOException e) {                    if (logger.isEnabledFor(Level.ERROR)) {                        logger.error("Unbehandelte Exception", e);                    }                }            }        };        ircWorker.start();    }