Enum AmeErrorCode

    • Enum Constant Detail

      • DRYRUNOPERATION

        public static final AmeErrorCode DRYRUNOPERATION
      • FAILEDOPERATION

        public static final AmeErrorCode FAILEDOPERATION
      • INTERNALERROR

        public static final AmeErrorCode INTERNALERROR
      • INVALIDPARAMETER

        public static final AmeErrorCode INVALIDPARAMETER
      • INVALIDPARAMETERVALUE

        public static final AmeErrorCode INVALIDPARAMETERVALUE
      • LIMITEXCEEDED

        public static final AmeErrorCode LIMITEXCEEDED
      • MISSINGPARAMETER

        public static final AmeErrorCode MISSINGPARAMETER
      • OPERATIONDENIED

        public static final AmeErrorCode OPERATIONDENIED
      • REQUESTLIMITEXCEEDED

        public static final AmeErrorCode REQUESTLIMITEXCEEDED
      • RESOURCEINUSE

        public static final AmeErrorCode RESOURCEINUSE
      • RESOURCEINSUFFICIENT

        public static final AmeErrorCode RESOURCEINSUFFICIENT
      • RESOURCENOTFOUND

        public static final AmeErrorCode RESOURCENOTFOUND
      • RESOURCEUNAVAILABLE

        public static final AmeErrorCode RESOURCEUNAVAILABLE
      • RESOURCESSOLDOUT

        public static final AmeErrorCode RESOURCESSOLDOUT
      • UNAUTHORIZEDOPERATION

        public static final AmeErrorCode UNAUTHORIZEDOPERATION
      • UNKNOWNPARAMETER

        public static final AmeErrorCode UNKNOWNPARAMETER
      • UNSUPPORTEDOPERATION

        public static final AmeErrorCode UNSUPPORTEDOPERATION
    • Method Detail

      • values

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

        public static AmeErrorCode 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
      • getValue

        public String getValue()
        Returns:
        errorcode value