public static enum TransactionResult.Type extends java.lang.Enum<TransactionResult.Type>
| Enum Constant and Description |
|---|
ERROR
Indicates a service-defined error during transaction execution.
|
SUCCESS
Indicates successful transaction execution.
|
UNEXPECTED_ERROR
Indicates an unexpected error during transaction execution.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionResult.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionResult.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionResult.Type SUCCESS
public static final TransactionResult.Type ERROR
public static final TransactionResult.Type UNEXPECTED_ERROR
public static TransactionResult.Type[] values()
for (TransactionResult.Type c : TransactionResult.Type.values()) System.out.println(c);
public static TransactionResult.Type 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 nullCopyright © 2019 Exonum. All rights reserved.