| | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.forgerock.i18n.LocalizableMessageBuilder; |
| | | import org.forgerock.i18n.slf4j.LocalizedLogger; |
| | | import org.forgerock.opendj.ldap.ErrorResultException; |
| | | import org.forgerock.opendj.ldap.LdapException; |
| | | import org.forgerock.opendj.ldap.FutureResultImpl; |
| | | import org.forgerock.opendj.ldap.ResultCode; |
| | | import org.forgerock.opendj.ldap.SearchResultHandler; |
| | |
| | | import org.opends.server.types.SearchResultReference; |
| | | |
| | | import static org.forgerock.opendj.adapter.server3x.Converters.*; |
| | | import static org.forgerock.opendj.ldap.ErrorResultException.*; |
| | | import static org.forgerock.opendj.ldap.LdapException.*; |
| | | import static org.opends.messages.ProtocolMessages.*; |
| | | import static org.opends.server.loggers.AccessLogger.*; |
| | | |
| | |
| | | .getMessageID(), toResponseProtocolOp(operation))); |
| | | } |
| | | } |
| | | catch (ErrorResultException e) |
| | | catch (LdapException e) |
| | | { |
| | | op.futureResult.handleError(e); |
| | | } |
| | |
| | | { |
| | | try |
| | | { |
| | | op.futureResult.handleError(ErrorResultException.newErrorResult(ResultCode.CANCELLED)); |
| | | op.futureResult.handleError(newErrorResult(ResultCode.CANCELLED)); |
| | | op.operation.abort(cancelRequest); |
| | | |
| | | if (keepStats) |