lastReconnectAttemptTime = SystemTime.currentTimeMillis(); try { connect(); } catch (IOException e) { try { protocolProvider.getHandler().exceptionCaught(protocolSession, e); } catch (Exception ece) { throw new RuntimeException(ece); } }
connect();
        public void run() {            if (shouldReconnect()) {                lastReconnectAttemptTime = SystemTime.currentTimeMillis();                try {                    connect();                } catch (IOException e) {                    try {                        protocolProvider.getHandler().exceptionCaught(protocolSession, e);                    } catch (Exception ece) {                        throw new RuntimeException(ece);                    }                }            }        }