Class CursorLdapReferralException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.cursor.CursorLdapReferralException
All Implemented Interfaces:
Serializable

public class CursorLdapReferralException extends CursorException
A specific form of CursorException used when a referral is met
Author:
Apache Directory Project
See Also:
  • Field Details

  • Constructor Details

    • CursorLdapReferralException

      public CursorLdapReferralException(LdapReferralException ldapReferralException)
      Creates a new instance of CursorClosedException.
      Parameters:
      ldapReferralException - The associated exception
    • CursorLdapReferralException

      public CursorLdapReferralException(LdapReferralException ldapReferralException, String message)
      Creates a new instance of CursorClosedException.
      Parameters:
      ldapReferralException - The associated exception
      message - The associated message
    • CursorLdapReferralException

      public CursorLdapReferralException(LdapReferralException ldapReferralException, String message, Throwable cause)
      Creates a new instance of CursorClosedException.
      Parameters:
      ldapReferralException - The associated exception
      message - The associated message
      cause - The original cause
  • Method Details

    • getResultCode

      public ResultCodeEnum getResultCode()
      Returns:
      the underlying LdapReferral result code, if any
      See Also:
    • getReferralInfo

      public String getReferralInfo()
      Returns:
      The current Referral
    • skipReferral

      public boolean skipReferral()
      Move to the next referral
      Returns:
      true if there is some next referral
    • getRemainingDn

      public Dn getRemainingDn()
      Returns:
      the remainingDn
    • getResolvedObject

      public Object getResolvedObject()
      Returns:
      the resolvedObject