code: @Override
  	public void exceptionCaught(IoSession session, Throwable cause)
  			throws Exception {
  		log.error("Unhandled exception caught in session {}: {}", session,
  				cause);
  		this.sensorIoAdapter.exceptionCaught(session, cause);
  	}
docs: Passes the Throwable to the IOAdapter.