Enum Class ResultCode

java.lang.Object
java.lang.Enum<ResultCode>
com.budwk.app.base.result.ResultCode
所有已实现的接口:
IResultCode, Serializable, Comparable<ResultCode>, Constable

public enum ResultCode extends Enum<ResultCode> implements IResultCode
作者:
wizzer@qq.com
  • 枚举常量详细资料

    • SUCCESS

      public static final ResultCode SUCCESS
    • FAILURE

      public static final ResultCode FAILURE
    • NOT_FOUND

      public static final ResultCode NOT_FOUND
    • TOO_MANY_REQUESTS

      public static final ResultCode TOO_MANY_REQUESTS
    • SERVER_ERROR

      public static final ResultCode SERVER_ERROR
    • IOC_ERROR

      public static final ResultCode IOC_ERROR
    • NULL_DATA_ERROR

      public static final ResultCode NULL_DATA_ERROR
    • HAVE_DATA_ERROR

      public static final ResultCode HAVE_DATA_ERROR
    • PARAM_ERROR

      public static final ResultCode PARAM_ERROR
    • XSS_SQL_ERROR

      public static final ResultCode XSS_SQL_ERROR
    • BLACKLIST_ERROR

      public static final ResultCode BLACKLIST_ERROR
    • DAO_ERROR

      public static final ResultCode DAO_ERROR
    • DEMO_ERROR

      public static final ResultCode DEMO_ERROR
    • PARAM_VALID_ERROR

      public static final ResultCode PARAM_VALID_ERROR
    • USER_NOT_LOGIN

      public static final ResultCode USER_NOT_LOGIN
    • USER_NOT_ROLE

      public static final ResultCode USER_NOT_ROLE
    • USER_NOT_PERMISSION

      public static final ResultCode USER_NOT_PERMISSION
    • USER_NOT_FOUND

      public static final ResultCode USER_NOT_FOUND
    • USER_DISABLED

      public static final ResultCode USER_DISABLED
    • USER_LOCKED

      public static final ResultCode USER_LOCKED
    • USER_NAME_ERROR

      public static final ResultCode USER_NAME_ERROR
    • USER_PWD_ERROR

      public static final ResultCode USER_PWD_ERROR
    • USER_PWD_EXPIRED

      public static final ResultCode USER_PWD_EXPIRED
    • USER_VERIFY_ERROR

      public static final ResultCode USER_VERIFY_ERROR
    • USER_LOGIN_FAIL

      public static final ResultCode USER_LOGIN_FAIL
  • 方法详细资料

    • values

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