} catch (IOException ioe1) {
logger.log(Level.WARNING, "I/O error", ioe1);
eventBus.post(new ConnectionClosed(this, ioe1));
+ } catch (RuntimeException re1) {
+ logger.log(Level.SEVERE, "Runtime error", re1);
+ eventBus.post(new ConnectionClosed(this, re1));
} finally {
established = false;
logger.info("Closing Connection.");