TransactionContractConflictException

If a state is identified as belonging to a contract, either because the state class is defined as an inner class of the contract class or because the state class is annotated with BelongsToContract, then it must not be bundled in a TransactionState with a different contract.

Parameters

state

The TransactionState whose bundled state and contract are in conflict.

requiredContractClassName

The class name of the contract to which the state belongs.

Constructors

Link copied to clipboard
constructor(txId: SecureHash, state: TransactionState<ContractState>, requiredContractClassName: String)
constructor(txId: SecureHash, message: String)

Properties

Link copied to clipboard
open override val cause: Throwable?
Link copied to clipboard
open override val message: String?
Link copied to clipboard

the ID backing getErrorId. If null it will be set dynamically by the flow framework when the exception is handled. This ID is propagated to counterparty flows, even when the FlowException is downgraded to an UnexpectedFlowEndException. This is so the error conditions may be correlated later on.

Link copied to clipboard
Link copied to clipboard
open override val originalMessage: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

the Merkle root hash (identifier) of the transaction that failed verification.

Functions

Link copied to clipboard
open override fun addSuppressed(suppressed: Array<Throwable>)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getErrorId(): Long?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setCause(cause: Throwable?)
Link copied to clipboard
open override fun setMessage(message: String?)
Link copied to clipboard