public Exception getPendingException() {
		synchronized (m_socketSets) {
			if (m_isShutdown) {
				return null;
			}
		}

		try {
			return m_exceptionQueue.take();
		}
		catch (InterruptedException e) {
			throw new UncheckedInterruptedException(e);
		}
	}
Asynchronous exception handling.

@return The exception, or {@code null} if this Acceptor has been shut down.
ngrinder-core/src/main/java/net/grinder/communication/Acceptor.java