public static enum RpcCommitException.CommitStatus extends java.lang.Enum<RpcCommitException.CommitStatus>
Enum Constant and Description |
---|
INSUFFICIENT_BALANCE |
INTERNAL_ERROR |
NONCE_TOO_LOW |
OK |
TX_ALREADY_EXISTS |
TX_HAS_SAME_NONCE |
TX_INVALID_FORMAT |
TX_INVALID_HASH |
TX_INVALID_SIGNATURE |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static RpcCommitException.CommitStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RpcCommitException.CommitStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcCommitException.CommitStatus OK
public static final RpcCommitException.CommitStatus NONCE_TOO_LOW
public static final RpcCommitException.CommitStatus TX_ALREADY_EXISTS
public static final RpcCommitException.CommitStatus TX_INVALID_HASH
public static final RpcCommitException.CommitStatus TX_INVALID_SIGNATURE
public static final RpcCommitException.CommitStatus TX_INVALID_FORMAT
public static final RpcCommitException.CommitStatus INSUFFICIENT_BALANCE
public static final RpcCommitException.CommitStatus TX_HAS_SAME_NONCE
public static final RpcCommitException.CommitStatus INTERNAL_ERROR
public static final RpcCommitException.CommitStatus UNRECOGNIZED
public static RpcCommitException.CommitStatus[] values()
for (RpcCommitException.CommitStatus c : RpcCommitException.CommitStatus.values()) System.out.println(c);
public static RpcCommitException.CommitStatus 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