corda / net.corda.core.contracts / TransactionVerificationException / TransactionMissingEncumbranceException / <init>

<init>

TransactionMissingEncumbranceException(txId: SecureHash, missing: Int, inOut: Direction)

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.