TransactionVerificationException.InvalidConstraintRejection - corda

corda / net.corda.core.contracts / TransactionVerificationException / InvalidConstraintRejection

# InvalidConstraintRejection

`class InvalidConstraintRejection : TransactionVerificationException`

A constraint attached to a state was invalid, e.g. due to size limitations.

### Constructors

#### <init> | A constraint attached to a state was invalid, e.g. due to size limitations. `InvalidConstraintRejection(txId: SecureHash, contractClass: String, reason: String)`

### Properties

#### contractClass | The fully qualified class name of the failing contract. `val contractClass: String`
#### reason | a message containing the reason the constraint is invalid included in thrown the exception. `val reason: String`