| Enum Constant and Description |
|---|
INTERNAL |
NON_EXISTENCE |
OP_FAILED |
OP_INDETERMINATE |
PERMISSION_ERROR |
QUERY_LOGIC |
RESOURCE_LIMIT |
USER |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static ErrorType |
fromValue(int value) |
static @Nullable ErrorType |
maybeFromValue(int value) |
static ErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorType INTERNAL
public static final ErrorType RESOURCE_LIMIT
public static final ErrorType QUERY_LOGIC
public static final ErrorType NON_EXISTENCE
public static final ErrorType OP_FAILED
public static final ErrorType OP_INDETERMINATE
public static final ErrorType USER
public static final ErrorType PERMISSION_ERROR
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType 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 ErrorType fromValue(int value)
@Nullable public static @Nullable ErrorType maybeFromValue(int value)