public enum CustomerExceptionEnum extends Enum<CustomerExceptionEnum> implements AbstractExceptionEnum
| 枚举常量和说明 |
|---|
ACCOUNT_REPEAT
账号重复,请更换账号
|
ACTIVE_ERROR
激活用户失败
|
CANT_FIND_CUSTOMER
查询不到对应用户
|
CUSTOMER_NOT_VERIFIED
用户未激活
|
CUSTOMER_STATUS_ERROR
用户状态异常
|
EMAIL_REPEAT
邮箱重复,请更换邮箱
|
EMAIL_SEND_ERROR
注册时,发送邮件失败,请联系管理员
|
EMAIL_VERIFY_COD_ERROR
邮箱验证码错误,请重新输入邮箱验证码
|
PWD_ERROR
用户原密码错误
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CustomerExceptionEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CustomerExceptionEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetErrorCode, getUserTippublic static final CustomerExceptionEnum CANT_FIND_CUSTOMER
public static final CustomerExceptionEnum CUSTOMER_STATUS_ERROR
public static final CustomerExceptionEnum CUSTOMER_NOT_VERIFIED
public static final CustomerExceptionEnum ACCOUNT_REPEAT
public static final CustomerExceptionEnum EMAIL_REPEAT
public static final CustomerExceptionEnum EMAIL_VERIFY_COD_ERROR
public static final CustomerExceptionEnum EMAIL_SEND_ERROR
public static final CustomerExceptionEnum ACTIVE_ERROR
public static final CustomerExceptionEnum PWD_ERROR
public static CustomerExceptionEnum[] values()
for (CustomerExceptionEnum c : CustomerExceptionEnum.values()) System.out.println(c);
public static CustomerExceptionEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2021. All rights reserved.