public static class TransactionVerificationException.TransactionContractConflictException
If a state is identified as belonging to a contract, either because the state class is defined as an inner class
of the contract class or because the state class is annotated with interface BelongsToContract
, then it must not be
bundled in a class TransactionState
with a different contract.
Constructor and Description |
---|
TransactionContractConflictException(SecureHash txId,
java.lang.String message)
If a state is identified as belonging to a contract, either because the state class is defined as an inner class
of the contract class or because the state class is annotated with
interface BelongsToContract , then it must not be
bundled in a class TransactionState with a different contract. |
TransactionContractConflictException(SecureHash txId,
TransactionState<? extends net.corda.core.contracts.ContractState> state,
java.lang.String requiredContractClassName) |
public TransactionContractConflictException(SecureHash txId, java.lang.String message)
If a state is identified as belonging to a contract, either because the state class is defined as an inner class
of the contract class or because the state class is annotated with interface BelongsToContract
, then it must not be
bundled in a class TransactionState
with a different contract.
public TransactionContractConflictException(SecureHash txId, TransactionState<? extends net.corda.core.contracts.ContractState> state, java.lang.String requiredContractClassName)