public enum ShardingCTLErrorCode extends Enum<ShardingCTLErrorCode> implements SQLErrorCode
| Enum Constant and Description |
|---|
INVALID_FORMAT |
UNSUPPORTED_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static ShardingCTLErrorCode |
valueOf(ShardingCTLException exception)
Value of sharding CTL error code.
|
static ShardingCTLErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShardingCTLErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetErrorCode, getErrorMessage, getSqlStatepublic static final ShardingCTLErrorCode INVALID_FORMAT
public static final ShardingCTLErrorCode UNSUPPORTED_TYPE
public static ShardingCTLErrorCode[] values()
for (ShardingCTLErrorCode c : ShardingCTLErrorCode.values()) System.out.println(c);
public static ShardingCTLErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ShardingCTLErrorCode valueOf(ShardingCTLException exception)
exception - exceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.