com.ibm.security.access.mobile.authentication

Enum ErrorCodes

  • java.lang.Object
    • java.lang.Enum<ErrorCodes>
      • com.ibm.security.access.mobile.authentication.ErrorCodes
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ErrorCodes>


    public enum ErrorCodes
    extends java.lang.Enum<ErrorCodes>
    The enumerated error type that provides constant values of error codes.
    Since:
    1.2.3
    Version:
    1.2.8
    • Enum Constant Detail

      • GENERIC__GROUP

        public static final ErrorCodes GENERIC__GROUP
      • GENERIC_NO_ERROR

        public static final ErrorCodes GENERIC_NO_ERROR
      • GENERIC_ANY_ERROR

        public static final ErrorCodes GENERIC_ANY_ERROR
      • GENERIC_PARAMETER_IS_NULL

        public static final ErrorCodes GENERIC_PARAMETER_IS_NULL
      • GENERIC_PARAMETER_TOO_BIG

        public static final ErrorCodes GENERIC_PARAMETER_TOO_BIG
      • GENERIC_PARAMETER_TOO_SMALL

        public static final ErrorCodes GENERIC_PARAMETER_TOO_SMALL
      • GENERIC_UNSUPPORTED_OPERATION

        public static final ErrorCodes GENERIC_UNSUPPORTED_OPERATION
      • NETWORK__GROUP

        public static final ErrorCodes NETWORK__GROUP
      • NETWORK_NOT_AVAILABLE

        public static final ErrorCodes NETWORK_NOT_AVAILABLE
      • NETWORK_IO_ERROR

        public static final ErrorCodes NETWORK_IO_ERROR
      • NETWORK_INVALID_URL

        public static final ErrorCodes NETWORK_INVALID_URL
      • AUTHENTICATION__GROUP

        public static final ErrorCodes AUTHENTICATION__GROUP
      • AUTHENTICATION_OAUTHTOKEN_EXPIRED

        public static final ErrorCodes AUTHENTICATION_OAUTHTOKEN_EXPIRED
      • AUTHENTICATION_OAUTHTOKEN_REFRESH_REQUIRED

        public static final ErrorCodes AUTHENTICATION_OAUTHTOKEN_REFRESH_REQUIRED
      • AUTHENTICATION_AUTHENTICATOR_ID_MISSING

        public static final ErrorCodes AUTHENTICATION_AUTHENTICATOR_ID_MISSING
      • AUTHENTICATION_OAUTHTOKEN_DATA_MISSING

        public static final ErrorCodes AUTHENTICATION_OAUTHTOKEN_DATA_MISSING
      • AUTHENTICATION_FAILED_TO_SERIALIZE_TO_JSON

        public static final ErrorCodes AUTHENTICATION_FAILED_TO_SERIALIZE_TO_JSON
      • AUTHENTICATION_UNABLE_TO_PARSE

        public static final ErrorCodes AUTHENTICATION_UNABLE_TO_PARSE
      • AUTHENTICATION_DATA_HAS_ERROR

        public static final ErrorCodes AUTHENTICATION_DATA_HAS_ERROR
      • REGISTRATION__GROUP

        public static final ErrorCodes REGISTRATION__GROUP
      • REGISTRATION_MISSING_OAUTH_CLIENTID

        public static final ErrorCodes REGISTRATION_MISSING_OAUTH_CLIENTID
      • REGISTRATION_INVALID_JSON_FORMAT

        public static final ErrorCodes REGISTRATION_INVALID_JSON_FORMAT
      • REGISTRATION_INVALID_DATA

        public static final ErrorCodes REGISTRATION_INVALID_DATA
      • REGISTRATION_DATA_HAS_ERROR

        public static final ErrorCodes REGISTRATION_DATA_HAS_ERROR
      • REGISTRATION_UNABLE_TO_PARSE

        public static final ErrorCodes REGISTRATION_UNABLE_TO_PARSE
      • ENROLLMENT__GROUP

        public static final ErrorCodes ENROLLMENT__GROUP
      • ENROLMENT_MESSAGE_MISSING

        public static final ErrorCodes ENROLMENT_MESSAGE_MISSING
      • ENROLMENT_INVALID_HTTP_METHOD

        public static final ErrorCodes ENROLMENT_INVALID_HTTP_METHOD
      • ENROLMENT_INVALID_JSON_FORMAT

        public static final ErrorCodes ENROLMENT_INVALID_JSON_FORMAT
      • ENROLMENT_UNABLE_TO_PARSE

        public static final ErrorCodes ENROLMENT_UNABLE_TO_PARSE
      • ENROLMENT_HTTP_ERROR

        public static final ErrorCodes ENROLMENT_HTTP_ERROR
      • ENROLMENT_NO_TYPE_IN_RESULT

        public static final ErrorCodes ENROLMENT_NO_TYPE_IN_RESULT
      • ENROLMENT_NO_ID_IN_RESULT

        public static final ErrorCodes ENROLMENT_NO_ID_IN_RESULT
      • ENROLMENT_FAILED_TO_SERIALIZE_TO_JSON

        public static final ErrorCodes ENROLMENT_FAILED_TO_SERIALIZE_TO_JSON
      • ENROLMENT_DATA_HAS_ERROR

        public static final ErrorCodes ENROLMENT_DATA_HAS_ERROR
      • ENROLMENT_UNKNOWN_ERROR_IN_RESPONSE

        public static final ErrorCodes ENROLMENT_UNKNOWN_ERROR_IN_RESPONSE
      • CHALLENGE__GROUP

        public static final ErrorCodes CHALLENGE__GROUP
      • CHALLENGE_NOT_REGISTERED

        public static final ErrorCodes CHALLENGE_NOT_REGISTERED
      • CHALLENGE_FAILED_TO_INVOKE

        public static final ErrorCodes CHALLENGE_FAILED_TO_INVOKE
      • CHALLENGE_INVALID_JSON_FORMAT

        public static final ErrorCodes CHALLENGE_INVALID_JSON_FORMAT
      • CHALLENGE_UNABLE_TO_PARSE

        public static final ErrorCodes CHALLENGE_UNABLE_TO_PARSE
      • TRANSACTION__GROUP

        public static final ErrorCodes TRANSACTION__GROUP
      • TRANSACTION_UNABLE_TO_PARSE

        public static final ErrorCodes TRANSACTION_UNABLE_TO_PARSE
      • TRANSACTION_INVALID_JSON_FORMAT

        public static final ErrorCodes TRANSACTION_INVALID_JSON_FORMAT
      • TRANSACTION_ID_NOT_FOUND

        public static final ErrorCodes TRANSACTION_ID_NOT_FOUND
      • TRANSACTION_DATA_HAS_ERROR

        public static final ErrorCodes TRANSACTION_DATA_HAS_ERROR
      • TRANSACTION_MESSAGE_NOT_FOUND

        public static final ErrorCodes TRANSACTION_MESSAGE_NOT_FOUND
    • Method Detail

      • values

        public static ErrorCodes[] 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 (ErrorCodes c : ErrorCodes.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ErrorCodes valueOf(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getDescription

        public java.lang.String getDescription()
        Returns the localized description of the errorCode if Context has been set. Otherwise it returns the default description.
        Returns:
        the description of the errorCode
      • getCode

        public int getCode()
        Returns the code of the error.
        Returns:
        the code of the error
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<ErrorCodes>
      • getDefaultDescription

        public java.lang.String getDefaultDescription()
        Returns the default description.
        Returns:
        the default description