while (true) { final Exception exception = m_acceptor.getPendingException(true);  if (exception == null) {  break; }  m_errorQueue.handleException(exception);
if (m_sender != null) { m_sender.isPeerShutdown();
        public void run() {          while (true) {            final Exception exception = m_acceptor.getPendingException(true);            if (exception == null) {              // Acceptor is shutting down.              break;            }            m_errorQueue.handleException(exception);          }        }