TransactionVerificationException.ConstraintPropagationRejection - corda

corda / net.corda.core.contracts / TransactionVerificationException / ConstraintPropagationRejection

# ConstraintPropagationRejection

`class ConstraintPropagationRejection : TransactionVerificationException`

This exception happens when a transaction was not built correctly. When a contract is not annotated with NoConstraintPropagation, then the platform ensures that the constraints of output states transition correctly from input states.

### Constructors

#### <init> | `ConstraintPropagationRejection(txId: SecureHash, contractClass: String, inputConstraint: AttachmentConstraint, outputConstraint: AttachmentConstraint)` This exception happens when a transaction was not built correctly. When a contract is not annotated with NoConstraintPropagation, then the platform ensures that the constraints of output states transition correctly from input states. `ConstraintPropagationRejection(txId: SecureHash, message: String)`

### Properties

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