TransactionVerificationException.TransactionNotaryMismatchEncumbranceException - corda

corda / net.corda.core.contracts / TransactionVerificationException / TransactionNotaryMismatchEncumbranceException

# TransactionNotaryMismatchEncumbranceException

`class TransactionNotaryMismatchEncumbranceException : TransactionVerificationException`

All encumbered states should be assigned to the same notary. This is due to the fact that multi-notary transactions are not supported and thus two encumbered states with different notaries cannot be consumed in the same transaction.

### Constructors

#### <init> | `TransactionNotaryMismatchEncumbranceException(txId: SecureHash, encumberedIndex: Int, encumbranceIndex: Int, encumberedNotary: Party, encumbranceNotary: Party)` All encumbered states should be assigned to the same notary. This is due to the fact that multi-notary transactions are not supported and thus two encumbered states with different notaries cannot be consumed in the same transaction. `TransactionNotaryMismatchEncumbranceException(txId: SecureHash, message: String)`