corda / net.corda.core.contracts / BrokenAttachmentException

BrokenAttachmentException

class BrokenAttachmentException : FlowException

A non-specific exception for the attachment identified by attachmentId. The context for this error is provided via the message and cause.

Constructors

<init>

BrokenAttachmentException(attachmentId: AttachmentId, message: String?, cause: Throwable?)

A non-specific exception for the attachment identified by attachmentId. The context for this error is provided via the message and cause.

Properties

attachmentId

val attachmentId: AttachmentId

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.