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
Constructor and Description |
---|
TransactionVerificationException(SecureHash txId,
java.lang.String message,
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. |
Modifier and Type | Method and Description |
---|---|
SecureHash |
getTxId()
the Merkle root hash
|
public TransactionVerificationException(SecureHash txId, java.lang.String message, 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
public SecureHash getTxId()
the Merkle root hash
(identifier) of the transaction that failed verification.