corda / net.corda.core.contracts / AttachmentResolutionException

AttachmentResolutionException

class AttachmentResolutionException : FlowException

The node asked a remote peer for the attachment identified by hash because it is a dependency of a transaction being resolved, but the remote peer would not provide it.

Constructors

<init>

AttachmentResolutionException(hash: AttachmentId)

The node asked a remote peer for the attachment identified by hash because it is a dependency of a transaction being resolved, but the remote peer would not provide it.

Properties

hash

val hash: AttachmentId

Hash of the bytes of the attachment, see Attachment.id

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.