public class TransactionVerificationException
Indicates that some aspect of the transaction named by txId violates the platform rules. The exact type of failure
is expressed using a subclass. TransactionVerificationException is a exception FlowException
and thus when thrown inside
a flow, the details of the failure will be serialised, propagated to the peer and rethrown.
exception FlowException
public TransactionVerificationException(@NotNull SecureHash txId, @NotNull java.lang.String message, @Nullable java.lang.Throwable cause)
Indicates that some aspect of the transaction named by txId violates the platform rules. The exact type of failure
is expressed using a subclass. TransactionVerificationException is a exception FlowException
and thus when thrown inside
a flow, the details of the failure will be serialised, propagated to the peer and rethrown.
txId
- the Merkle root hash (identifier) of the transaction that failed verification.exception FlowException
@NotNull public SecureHash getTxId()
the Merkle root hash
(identifier) of the transaction that failed verification.