Class LdapOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapOperationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractLdapReferralException, LdapAdminLimitExceededException, LdapAffectMultipleDsaException, LdapAliasDereferencingException, LdapAliasException, LdapAttributeInUseException, LdapAuthenticationException, LdapAuthenticationNotSupportedException, LdapCannotCancelException, LdapConfigurationException, LdapContextNotEmptyException, LdapEntryAlreadyExistsException, LdapInvalidAttributeTypeException, LdapInvalidAttributeValueException, LdapInvalidDnException, LdapInvalidSearchFilterException, LdapLoopDetectedException, LdapNoPermissionException, LdapNoSuchAttributeException, LdapNoSuchObjectException, LdapNoSuchOperationException, LdapOperationErrorException, LdapOtherException, LdapProtocolErrorException, LdapSchemaViolationException, LdapServiceUnavailableException, LdapSizeLimitExceededException, LdapStrongAuthenticationRequiredException, LdapTimeLimitExceededException, LdapTooLateException, LdapUnknownException, LdapUnwillingToPerformException
An class for LDAP operation exceptions which add LDAP specific information to
Exceptions.
- Author:
- Apache Directory Project
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DnThe resolved Dnprotected ResultCodeEnumThe operation resultCode -
Constructor Summary
ConstructorsConstructorDescriptionLdapOperationException(String message) Creates a new instance of LdapOperationException.LdapOperationException(String message, Throwable cause) Creates a new instance of LdapOperationException.LdapOperationException(ResultCodeEnum resultCode, String message) Creates a new instance of LdapOperationException.LdapOperationException(ResultCodeEnum resultCode, String message, Throwable cause) Creates a new instance of LdapOperationException. -
Method Summary
Modifier and TypeMethodDescriptionGet the resolved DNGets the LDAP result code that would be associated with this exception.voidsetResolvedDn(Dn resolvedDn) Set the resolved DNMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
resultCode
The operation resultCode -
resolvedDn
The resolved Dn
-
-
Constructor Details
-
LdapOperationException
Creates a new instance of LdapOperationException.- Parameters:
resultCode- The operation resultCodemessage- The exception message
-
LdapOperationException
Creates a new instance of LdapOperationException.- Parameters:
resultCode- The operation resultCodemessage- The exception messagecause- The root cause for this exception
-
LdapOperationException
Creates a new instance of LdapOperationException.- Parameters:
message- The exception message
-
LdapOperationException
-
-
Method Details
-
getResultCode
Gets the LDAP result code that would be associated with this exception.- Returns:
- the LDAP result code corresponding to this exception type.
-
getResolvedDn
-
setResolvedDn
Set the resolved DN- Parameters:
resolvedDn- the resolvedDn to set
-