public enum CommonErrorCode extends Enum<CommonErrorCode> implements SQLErrorCode
| 限定符和类型 | 方法和说明 |
|---|---|
static CommonErrorCode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CommonErrorCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetErrorCode, getErrorMessage, getSqlStatepublic static final CommonErrorCode CIRCUIT_BREAK_MODE
public static final CommonErrorCode SCALING_JOB_NOT_EXIST
public static final CommonErrorCode SCALING_OPERATE_FAILED
public static final CommonErrorCode TABLE_LOCK_WAIT_TIMEOUT
public static final CommonErrorCode TABLE_LOCKED
public static final CommonErrorCode TOO_MANY_CONNECTIONS_EXCEPTION
public static final CommonErrorCode RUNTIME_EXCEPTION
public static final CommonErrorCode UNSUPPORTED_COMMAND
public static final CommonErrorCode UNKNOWN_EXCEPTION
public static CommonErrorCode[] values()
for (CommonErrorCode c : CommonErrorCode.values()) System.out.println(c);
public static CommonErrorCode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2022 The Apache Software Foundation. All rights reserved.