public enum ExceptionCode extends java.lang.Enum<ExceptionCode>
| Enum Constant and Description |
|---|
ALREADY_EXIST |
FAILED_PRECONDITION |
GRPC |
INTERNAL |
INVALID_ARGUMENT |
IO |
JOURNAL |
NOT_ALLOWED |
NOT_EXIST |
NOT_IMPLEMENTED |
NOT_LEADER |
RESOURCE_EXHAUSTED |
SCHEDULE |
| Modifier and Type | Method and Description |
|---|---|
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 INVALID_ARGUMENT
public static final ExceptionCode NOT_EXIST
public static final ExceptionCode ALREADY_EXIST
public static final ExceptionCode NOT_ALLOWED
public static final ExceptionCode GRPC
public static final ExceptionCode JOURNAL
public static final ExceptionCode IO
public static final ExceptionCode NOT_LEADER
public static final ExceptionCode SCHEDULE
public static final ExceptionCode INTERNAL
public static final ExceptionCode RESOURCE_EXHAUSTED
public static final ExceptionCode NOT_IMPLEMENTED
public static final ExceptionCode FAILED_PRECONDITION
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 nullCopyright © 2024. All rights reserved.