TransactionVerificationException.TransactionMissingEncumbranceException - corda

corda / net.corda.core.contracts / TransactionVerificationException / TransactionMissingEncumbranceException

# TransactionMissingEncumbranceException

`class TransactionMissingEncumbranceException : TransactionVerificationException`

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

#### <init> | 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. `TransactionMissingEncumbranceException(txId: SecureHash, missing: Int, inOut: Direction)`

### Properties

#### inOut | whether the issue exists in the input list or output list. `val inOut: Direction`
#### missing | the index of the state missing the encumbrance. `val missing: Int`