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.
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. |
val attachmentId: AttachmentId |
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. |
open fun getErrorId(): Long? |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |