public enum PAbortCause extends Enum<PAbortCause>
Enum Constant and Description |
---|
BADLY_FORMATTED_TRANSACTION_PORTION |
INCORRECT_TRANSACTION_PORTION |
RESOURCE_LIMITATION |
UNRECOGNIZED_MESSAGE_TYPE |
UNRECOGNIZED_TRANSACTION_ID |
Modifier and Type | Method and Description |
---|---|
static PAbortCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PAbortCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PAbortCause UNRECOGNIZED_MESSAGE_TYPE
public static final PAbortCause UNRECOGNIZED_TRANSACTION_ID
public static final PAbortCause BADLY_FORMATTED_TRANSACTION_PORTION
public static final PAbortCause INCORRECT_TRANSACTION_PORTION
public static final PAbortCause RESOURCE_LIMITATION
public static PAbortCause[] values()
for (PAbortCause c : PAbortCause.values()) System.out.println(c);
public static PAbortCause 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 null