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