TransactionVerificationException.ContractConstraintRejection - corda

corda / net.corda.core.contracts / TransactionVerificationException / ContractConstraintRejection

# ContractConstraintRejection

`class ContractConstraintRejection : TransactionVerificationException`

The transaction attachment that contains the contractClass class didn't meet the constraints specified by the TransactionState.constraint object. This usually implies a version mismatch of some kind.

### Constructors

#### <init> | The transaction attachment that contains the contractClass class didn't meet the constraints specified by the TransactionState.constraint object. This usually implies a version mismatch of some kind. `ContractConstraintRejection(txId: SecureHash, contractClass: String)`

### Properties

#### contractClass | The fully qualified class name of the failing contract. `val contractClass: String`