TransactionMissingEncumbranceException

If a state is encumbered (the TransactionState.encumbrance field is set) then its encumbrance must be used as an input to any transaction that uses it. In this way states can be tied together in chains, thus composing logic. Note that encumbrances aren't fully supported by all aspects of the platform at this time so if you use them, you may find transactions created by the platform don't always respect the encumbrance rule.

Constructors

Link copied to clipboard
constructor(txId: SecureHash, missing: Int, inOut: TransactionVerificationException.Direction)

Properties

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

whether the issue exists in the input list or output list.

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

the index of the state missing the encumbrance.

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