public enum ExceptionCode extends java.lang.Enum<ExceptionCode>
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static ExceptionCode |
fromValue(int value) |
static ExceptionCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionCode SERVER_ERROR
public static final ExceptionCode PROTOCOL_ERROR
public static final ExceptionCode BAD_CREDENTIALS
public static final ExceptionCode UNAVAILABLE
public static final ExceptionCode OVERLOADED
public static final ExceptionCode IS_BOOTSTRAPPING
public static final ExceptionCode TRUNCATE_ERROR
public static final ExceptionCode WRITE_TIMEOUT
public static final ExceptionCode READ_TIMEOUT
public static final ExceptionCode READ_FAILURE
public static final ExceptionCode FUNCTION_FAILURE
public static final ExceptionCode WRITE_FAILURE
public static final ExceptionCode CDC_WRITE_FAILURE
public static final ExceptionCode CAS_WRITE_UNKNOWN
public static final ExceptionCode SYNTAX_ERROR
public static final ExceptionCode UNAUTHORIZED
public static final ExceptionCode INVALID
public static final ExceptionCode CONFIG_ERROR
public static final ExceptionCode ALREADY_EXISTS
public static final ExceptionCode UNPREPARED
public static ExceptionCode[] values()
for (ExceptionCode c : ExceptionCode.values()) System.out.println(c);
public static ExceptionCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ExceptionCode fromValue(int value)
Copyright © 2009-2021 The Apache Software Foundation