Enum ObaErrorCode

    • Enum Constant Detail

      • CONNECTION_ERROR

        public static final ObaErrorCode CONNECTION_ERROR
      • AIS_BAD_REQUEST

        public static final ObaErrorCode AIS_BAD_REQUEST
      • CONVERSION_EXCEPTION

        public static final ObaErrorCode CONVERSION_EXCEPTION
      • AUTH_EXPIRED

        public static final ObaErrorCode AUTH_EXPIRED
      • LOGIN_FAILED

        public static final ObaErrorCode LOGIN_FAILED
      • ACCESS_FORBIDDEN

        public static final ObaErrorCode ACCESS_FORBIDDEN
      • RESOURCE_EXPIRED

        public static final ObaErrorCode RESOURCE_EXPIRED
    • Method Detail

      • values

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

        public static ObaErrorCode 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