public static class TransactionVerificationException.ConstraintPropagationRejection
This exception happens when a transaction was not built correctly.
When a contract is not annotated with interface NoConstraintPropagation
, then the platform ensures that the constraints of output states transition correctly from input states.
interface NoConstraintPropagation
Constructor and Description |
---|
ConstraintPropagationRejection(SecureHash txId,
java.lang.String message)
This exception happens when a transaction was not built correctly.
When a contract is not annotated with
interface NoConstraintPropagation , then the platform ensures that the constraints of output states transition correctly from input states. |
ConstraintPropagationRejection(SecureHash txId,
java.lang.String contractClass,
AttachmentConstraint inputConstraint,
AttachmentConstraint outputConstraint) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContractClass()
The fully qualified class name of the failing contract.
|
public ConstraintPropagationRejection(SecureHash txId, java.lang.String message)
This exception happens when a transaction was not built correctly.
When a contract is not annotated with interface NoConstraintPropagation
, then the platform ensures that the constraints of output states transition correctly from input states.
interface NoConstraintPropagation
public ConstraintPropagationRejection(SecureHash txId, java.lang.String contractClass, AttachmentConstraint inputConstraint, AttachmentConstraint outputConstraint)