Enum MessageEnum

    • Enum Constant Detail

      • INVALID_API_KEY

        public static final MessageEnum INVALID_API_KEY
      • INVALID_USERNAME_OR_PASSWORD

        public static final MessageEnum INVALID_USERNAME_OR_PASSWORD
      • INVALID_USER_HASH

        public static final MessageEnum INVALID_USER_HASH
      • PARAMETER_ERROR

        public static final MessageEnum PARAMETER_ERROR
      • NO_VALID_PARAMETERS

        public static final MessageEnum NO_VALID_PARAMETERS
      • DAILY_API_LIMIT_EXCEEDED

        public static final MessageEnum DAILY_API_LIMIT_EXCEEDED
      • TECHNICAL_ERROR

        public static final MessageEnum TECHNICAL_ERROR
    • Method Detail

      • values

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

        public static MessageEnum 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
      • getMessage

        public String getMessage()