Package org.forgerock.opendj.ldap
Class CancelledResultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.forgerock.opendj.ldap.LdapException
org.forgerock.opendj.ldap.CancelledResultException
- All Implemented Interfaces:
Serializable,LocalizableException
Thrown to indicate that the request was cancelled. More specifically, this exception is used with the following
error result codes:
CANCELLED- the requested operation was cancelled.ResultCode.CLIENT_SIDE_USER_CANCELLED- the requested operation was cancelled by the user.ResultCode.UNAVAILABLE- the requested operation was cancelled due to server shutdown.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCancelledResultException(Result result) Constructs a new cancellation exception with the specified cancellation result. -
Method Summary
Methods inherited from class org.forgerock.opendj.ldap.LdapException
constraintViolation, constraintViolation, fillInStackTrace, getMessage, getMessageObject, getResult, getResultCode, invalidCredentials, invalidCredentials, newLdapClientException, newLdapException, newLdapException, newLdapException, newLdapException, newLdapException, newLdapException, newLdapException, newLdapException, noSuchObject, noSuchObject, noSuchObject, protocolError, protocolError, toString, unwillingToPerformMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CancelledResultException
Constructs a new cancellation exception with the specified cancellation result.- Parameters:
result- The result of the cancellation.
-