Enum Class Result

java.lang.Object
java.lang.Enum<Result>
cn.hamm.airpower.enums.Result
所有已实现的接口:
IResult, Serializable, Comparable<Result>, java.lang.constant.Constable

public enum Result extends Enum<Result> implements IResult

系统异常代码字典

作者:
Hamm.cn
  • 枚举常量详细资料

    • SUCCESS

      public static final Result SUCCESS
    • CONTINUE

      public static final Result CONTINUE
    • UPGRADE_CLIENT_NECESSARY

      public static final Result UPGRADE_CLIENT_NECESSARY
    • UPGRADE_CLIENT_OPTIONAL

      public static final Result UPGRADE_CLIENT_OPTIONAL
    • PARAM_MISSING

      public static final Result PARAM_MISSING
    • PARAM_INVALID

      public static final Result PARAM_INVALID
    • UNAUTHORIZED

      public static final Result UNAUTHORIZED
    • FORBIDDEN

      public static final Result FORBIDDEN
    • FORBIDDEN_EXIST

      public static final Result FORBIDDEN_EXIST
    • FORBIDDEN_EDIT

      public static final Result FORBIDDEN_EDIT
    • FORBIDDEN_DELETE

      public static final Result FORBIDDEN_DELETE
    • FORBIDDEN_DELETE_USED

      public static final Result FORBIDDEN_DELETE_USED
    • FORBIDDEN_UPLOAD_MAX_SIZE

      public static final Result FORBIDDEN_UPLOAD_MAX_SIZE
    • DATA_NOT_FOUND

      public static final Result DATA_NOT_FOUND
    • REQUEST_METHOD_UNSUPPORTED

      public static final Result REQUEST_METHOD_UNSUPPORTED
    • REQUEST_CONTENT_TYPE_UNSUPPORTED

      public static final Result REQUEST_CONTENT_TYPE_UNSUPPORTED
    • ERROR

      public static final Result ERROR
    • API_SERVICE_UNSUPPORTED

      public static final Result API_SERVICE_UNSUPPORTED
    • DATABASE_ERROR

      public static final Result DATABASE_ERROR
    • DATABASE_UNKNOWN_FIELD

      public static final Result DATABASE_UNKNOWN_FIELD
    • DATABASE_TABLE_OR_FIELD_ERROR

      public static final Result DATABASE_TABLE_OR_FIELD_ERROR
    • REDIS_ERROR

      public static final Result REDIS_ERROR
    • EMAIL_ERROR

      public static final Result EMAIL_ERROR
  • 方法详细资料

    • values

      public static Result[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Result valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值