Enum TicErrorCode

    • Enum Constant Detail

      • FAILEDOPERATION

        public static final TicErrorCode FAILEDOPERATION
      • FAILEDOPERATION_HTTPREQUESTERROR

        public static final TicErrorCode FAILEDOPERATION_HTTPREQUESTERROR
      • FAILEDOPERATION_NOTEXIST

        public static final TicErrorCode FAILEDOPERATION_NOTEXIST
      • INTERNALERROR

        public static final TicErrorCode INTERNALERROR
      • INTERNALERROR_COSERROR

        public static final TicErrorCode INTERNALERROR_COSERROR
      • INTERNALERROR_DBERROR

        public static final TicErrorCode INTERNALERROR_DBERROR
      • INTERNALERROR_MQERROR

        public static final TicErrorCode INTERNALERROR_MQERROR
      • INTERNALERROR_SYSTEM

        public static final TicErrorCode INTERNALERROR_SYSTEM
      • INVALIDPARAMETER

        public static final TicErrorCode INVALIDPARAMETER
      • INVALIDPARAMETER_PARAMERROR

        public static final TicErrorCode INVALIDPARAMETER_PARAMERROR
      • UNSUPPORTEDOPERATION_FORBIDOP

        public static final TicErrorCode UNSUPPORTEDOPERATION_FORBIDOP
    • Method Detail

      • values

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

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