TransactionVerificationException.NotaryChangeInWrongTransactionType - corda

corda / net.corda.core.contracts / TransactionVerificationException / NotaryChangeInWrongTransactionType

# NotaryChangeInWrongTransactionType

`class NotaryChangeInWrongTransactionType : TransactionVerificationException`

An output state has a notary that doesn't match the transaction's notary field. It must!

### Constructors

#### <init> | An output state has a notary that doesn't match the transaction's notary field. It must! `NotaryChangeInWrongTransactionType(txId: SecureHash, txNotary: Party, outputNotary: Party)`

### Properties

#### outputNotary | the Party specified by the errant state. `val outputNotary: Party`
#### txNotary | the Party specified by the transaction header. `val txNotary: Party`