Enum Class ServiceError

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

public enum ServiceError extends Enum<ServiceError> implements IException

系统错误代码字典

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

    • CONTINUE

      public static final ServiceError CONTINUE
    • UPGRADE_CLIENT_NECESSARY

      public static final ServiceError UPGRADE_CLIENT_NECESSARY
    • UPGRADE_CLIENT_OPTIONAL

      public static final ServiceError UPGRADE_CLIENT_OPTIONAL
    • PARAM_MISSING

      public static final ServiceError PARAM_MISSING
    • PARAM_INVALID

      public static final ServiceError PARAM_INVALID
    • UNAUTHORIZED

      public static final ServiceError UNAUTHORIZED
    • FORBIDDEN

      public static final ServiceError FORBIDDEN
    • FORBIDDEN_EXIST

      public static final ServiceError FORBIDDEN_EXIST
    • FORBIDDEN_EDIT

      public static final ServiceError FORBIDDEN_EDIT
    • FORBIDDEN_DELETE

      public static final ServiceError FORBIDDEN_DELETE
    • FORBIDDEN_DELETE_USED

      public static final ServiceError FORBIDDEN_DELETE_USED
    • FORBIDDEN_UPLOAD_MAX_SIZE

      public static final ServiceError FORBIDDEN_UPLOAD_MAX_SIZE
    • DATA_NOT_FOUND

      public static final ServiceError DATA_NOT_FOUND
    • REQUEST_METHOD_UNSUPPORTED

      public static final ServiceError REQUEST_METHOD_UNSUPPORTED
    • REQUEST_CONTENT_TYPE_UNSUPPORTED

      public static final ServiceError REQUEST_CONTENT_TYPE_UNSUPPORTED
    • SERVICE_ERROR

      public static final ServiceError SERVICE_ERROR
    • API_SERVICE_UNSUPPORTED

      public static final ServiceError API_SERVICE_UNSUPPORTED
    • DATABASE_ERROR

      public static final ServiceError DATABASE_ERROR
    • DATABASE_UNKNOWN_FIELD

      public static final ServiceError DATABASE_UNKNOWN_FIELD
    • DATABASE_TABLE_OR_FIELD_ERROR

      public static final ServiceError DATABASE_TABLE_OR_FIELD_ERROR
    • REDIS_ERROR

      public static final ServiceError REDIS_ERROR
    • EMAIL_ERROR

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

    • values

      public static ServiceError[] 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 ServiceError 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 - 如果参数为空值