Class LDAPReferralException

    • Constructor Detail

      • LDAPReferralException

        public LDAPReferralException()
        Creates a new LDAP referral exception with no information.
      • LDAPReferralException

        public LDAPReferralException​(java.lang.String message,
                                     int resultCode,
                                     java.lang.String serverErrorMessage)
        Creates a new LDAP referral exception with the provided information.
        Parameters:
        message - The message for this LDAP referral exception.
        resultCode - The result code for this LDAP referral exception.
        serverErrorMessage - The error message returned from the server.
      • LDAPReferralException

        public LDAPReferralException​(java.lang.String message,
                                     int resultCode,
                                     java.lang.String[] referrals)
        Creates a new LDAP referral exception with the provided information.
        Parameters:
        message - The message for this LDAP referral exception.
        resultCode - The result code for this LDAP referral exception.
        referrals - The set of referrals for this exception.
      • LDAPReferralException

        public LDAPReferralException​(LDAPException ldapException)
        Creates a new LDAP referral exception from the provided LDAPException object.
        Parameters:
        ldapException - The LDAPException object to use for this LDAP interrupted exception.
    • Method Detail

      • getURLs

        public java.lang.String[] getURLs()
        Retrieves the set of referral URLs for this exception.
        Returns:
        The set of referral URLs for this exception.