public static enum OperationFault.Type extends Enum<OperationFault.Type>
| Enum Constant and Description |
|---|
COLUMN_DOES_NOT_EXIST
Column does not exist.
|
FOREIGN_KEY_ALREADY_EXISTS
Foreign key already exists.
|
INDEX_ALREADY_EXISTS
Index already exists.
|
PRIMARY_KEY_ALREADY_EXISTS
The primary key that already exists.
|
SEQUENCE_ALREADY_EXISTS
Sequence already exists.
|
SEQUENCE_DOES_NOT_EXIST
Sequence does not exist.
|
TABLE_ALREADY_EXISTS
Table does not exist.
|
TABLE_DOES_NOT_EXIST
Table does not exist.
|
| Modifier and Type | Method and Description |
|---|---|
static OperationFault.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationFault.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationFault.Type PRIMARY_KEY_ALREADY_EXISTS
public static final OperationFault.Type FOREIGN_KEY_ALREADY_EXISTS
public static final OperationFault.Type INDEX_ALREADY_EXISTS
public static final OperationFault.Type SEQUENCE_ALREADY_EXISTS
public static final OperationFault.Type SEQUENCE_DOES_NOT_EXIST
public static final OperationFault.Type TABLE_DOES_NOT_EXIST
public static final OperationFault.Type COLUMN_DOES_NOT_EXIST
public static final OperationFault.Type TABLE_ALREADY_EXISTS
public static OperationFault.Type[] values()
for (OperationFault.Type c : OperationFault.Type.values()) System.out.println(c);
public static OperationFault.Type 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 © 2021 Feedzai. All rights reserved.