public enum DataErrorType extends Enum<DataErrorType>
Enum Constant and Description |
---|
AcquireLock
Error trying to acquire lock (e.g.
|
DataIntegrity
Data integrity error like an invalid foreign key.
|
DuplicateKey
Error with a duplicate primary or unique key.
|
Modifier and Type | Method and Description |
---|---|
static DataErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataErrorType AcquireLock
public static final DataErrorType DuplicateKey
public static final DataErrorType DataIntegrity
public static DataErrorType[] values()
for (DataErrorType c : DataErrorType.values()) System.out.println(c);
public static DataErrorType 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 © 2019. All rights reserved.