public enum OErrorCategory extends Enum<OErrorCategory>
Enum Constant and Description |
---|
CONCURRENCY |
CONCURRENCY_RETRY |
GENERIC |
SQL_GENERIC |
SQL_PARSING |
STORAGE |
VALIDATION |
Modifier and Type | Field and Description |
---|---|
protected int |
code |
Modifier and Type | Method and Description |
---|---|
static OErrorCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OErrorCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OErrorCategory GENERIC
public static final OErrorCategory SQL_GENERIC
public static final OErrorCategory SQL_PARSING
public static final OErrorCategory STORAGE
public static final OErrorCategory CONCURRENCY_RETRY
public static final OErrorCategory VALIDATION
public static final OErrorCategory CONCURRENCY
public static OErrorCategory[] values()
for (OErrorCategory c : OErrorCategory.values()) System.out.println(c);
public static OErrorCategory 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 nullCopyright © 2009–2020 OrientDB. All rights reserved.