corda / net.corda.core.transactions / MissingContractAttachments

MissingContractAttachments

class MissingContractAttachments : FlowException

A contract attachment was missing when trying to automatically attach all known contract attachments

Constructors

<init>

MissingContractAttachments(states: List<TransactionState<ContractState>>, contractsClassName: String? = null, minimumRequiredContractClassVersion: Version? = null)

A contract attachment was missing when trying to automatically attach all known contract attachments

Properties

states

val states: List<TransactionState<ContractState>>

States which have contracts that do not have corresponding attachments in the attachment store.

Inherited Properties

originalErrorId

var originalErrorId: Long?

the ID backing getErrorId. If null it will be set dynamically by the flow framework when the exception is handled. This ID is propagated to counterparty flows, even when the FlowException is downgraded to an UnexpectedFlowEndException. This is so the error conditions may be correlated later on.

Inherited Functions

getErrorId

open fun getErrorId(): Long?

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

When called from a companion object, returns the logger for the enclosing class.