TransactionVerificationException.ConstraintPropagationRejection.<init> - corda

corda / net.corda.core.contracts / TransactionVerificationException / ConstraintPropagationRejection / <init>

# <init>

`ConstraintPropagationRejection(txId: SecureHash, contractClass: String, inputConstraint: AttachmentConstraint, outputConstraint: AttachmentConstraint)` `ConstraintPropagationRejection(txId: SecureHash, message: String)`

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.