Class LDAPReferralException

    • Constructor Detail

      • LDAPReferralException

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

        public LDAPReferralException​(@Nullable
                                     java.lang.String message,
                                     int resultCode,
                                     @Nullable
                                     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​(@Nullable
                                     java.lang.String message,
                                     int resultCode,
                                     @NotNull
                                     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.
    • Method Detail

      • getURLs

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