public static enum RepositoryException.ErrorSource extends java.lang.Enum<RepositoryException.ErrorSource>
Enum Constant and Description |
---|
INDEX |
STORAGE |
UNKNOWN |
VALIDATION |
Modifier and Type | Method and Description |
---|---|
static RepositoryException.ErrorSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryException.ErrorSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryException.ErrorSource VALIDATION
public static final RepositoryException.ErrorSource STORAGE
public static final RepositoryException.ErrorSource INDEX
public static final RepositoryException.ErrorSource UNKNOWN
public static RepositoryException.ErrorSource[] values()
for (RepositoryException.ErrorSource c : RepositoryException.ErrorSource.values()) System.out.println(c);
public static RepositoryException.ErrorSource 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 null