Class 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

public class LdapOperationException extends LdapException
An class for LDAP operation exceptions which add LDAP specific information to Exceptions.
Author:
Apache Directory Project
See Also:
  • Field Details

    • resultCode

      protected ResultCodeEnum resultCode
      The operation resultCode
    • resolvedDn

      protected Dn resolvedDn
      The resolved Dn
  • Constructor Details

    • LdapOperationException

      public LdapOperationException(ResultCodeEnum resultCode, String message)
      Creates a new instance of LdapOperationException.
      Parameters:
      resultCode - The operation resultCode
      message - The exception message
    • LdapOperationException

      public LdapOperationException(ResultCodeEnum resultCode, String message, Throwable cause)
      Creates a new instance of LdapOperationException.
      Parameters:
      resultCode - The operation resultCode
      message - The exception message
      cause - The root cause for this exception
    • LdapOperationException

      public LdapOperationException(String message)
      Creates a new instance of LdapOperationException.
      Parameters:
      message - The exception message
    • LdapOperationException

      public LdapOperationException(String message, Throwable cause)
      Creates a new instance of LdapOperationException.
      Parameters:
      message - The exception message
      cause - The root cause for this exception
  • Method Details

    • getResultCode

      public ResultCodeEnum getResultCode()
      Gets the LDAP result code that would be associated with this exception.
      Returns:
      the LDAP result code corresponding to this exception type.
    • getResolvedDn

      public Dn getResolvedDn()
      Get the resolved DN
      Returns:
      the resolvedDn
    • setResolvedDn

      public void setResolvedDn(Dn resolvedDn)
      Set the resolved DN
      Parameters:
      resolvedDn - the resolvedDn to set