Class AbstractLdapReferralException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LdapPartialResultException, LdapReferralException

public class AbstractLdapReferralException extends LdapOperationException
A LdapOperationException which associates a resultCode namely the ResultCodeEnum.REFERRAL resultCode with the exception.
Author:
Apache Directory Project
See Also:
  • Constructor Details

    • AbstractLdapReferralException

      public AbstractLdapReferralException(String explanation)
      Creates a new instance of AbstractLdapReferralException.
      Parameters:
      explanation - The associated message
  • Method Details

    • getResultCode

      public ResultCodeEnum getResultCode()
      Overrides:
      getResultCode in class LdapOperationException
      Returns:
      The interned ResultCode
    • getReferralContext

      public Context getReferralContext() throws NamingException
      Not yet implemented
      Returns:
      The Referral Context
      Throws:
      NamingException - If the operation failed
    • getReferralContext

      public Context getReferralContext(Map<?,?> arg) throws NamingException
      Not yet implemented
      Parameters:
      arg - The arguments
      Returns:
      The referral context
      Throws:
      NamingException - If the operation failed
    • retryReferral

      public void retryReferral()
      Retry. Not yet implemented
    • getRemainingDn

      public Dn getRemainingDn()
      Get the remaining Dn
      Returns:
      the remainingDn
    • setRemainingDn

      public void setRemainingDn(Dn remainingDn)
      Set the remaining Dn
      Parameters:
      remainingDn - the remainingName to set
    • getResolvedObject

      public Object getResolvedObject()
      Get the reolved Object
      Returns:
      the resolvedObject
    • setResolvedObject

      public void setResolvedObject(Object resolvedObject)
      Set the reolved Object
      Parameters:
      resolvedObject - the resolvedObject to set