Enum EFcLdapQueryError

    • Enum Constant Detail

      • LDAP_CONNECTION_NOT_FOUND

        public static final EFcLdapQueryError LDAP_CONNECTION_NOT_FOUND
        When the LDAP connection details were not found, usually because the entity was already deleted in the FORMCYCLE backend.
      • LDAP_QUERY_NOT_FOUND

        public static final EFcLdapQueryError LDAP_QUERY_NOT_FOUND
        When the LDAP query were not found, usually because the entity was already deleted in the FORMCYCLE backend.
      • QUERY_EXECUTION_FAILED

        public static final EFcLdapQueryError QUERY_EXECUTION_FAILED
        When the LDAP query could not be executed against the LDAP system.
      • UNABLE_TO_CONNECT

        public static final EFcLdapQueryError UNABLE_TO_CONNECT
        When the connection to the LDAP system could not be established, e.g. when the URL or the credentials are invalid.
    • Method Detail

      • values

        public static EFcLdapQueryError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EFcLdapQueryError c : EFcLdapQueryError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EFcLdapQueryError valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null