/** {@inheritDoc} */ @Override public void handleException(final LdapException error) { if (clientConnection.removePendingRequest(this)) { if (setResult(error.getResult())) { /* * FIXME: we must invoke the result handler even when * abandoned so that chained result handlers may clean up, * log, etc. We really need to signal that the result must * not be sent to the client. */ } resultHandler.handleException(error); } }
private void verifyResultCodeIsClientSideTimeout(LdapException error) { assertThat(error.getResult().getResultCode()).isEqualTo(ResultCode.CLIENT_SIDE_TIMEOUT); }