NotaryException

class NotaryException(val error: NotaryError, val txId: SecureHash? = null) : FlowException

Exception thrown by the notary service if any issues are encountered while trying to commit a transaction. The underlying error specifies the cause of failure.

Constructors

Link copied to clipboard
constructor(error: NotaryError, txId: SecureHash? = null)

Properties

Link copied to clipboard
open override val cause: Throwable?
Link copied to clipboard

Cause of notarisation failure.

Link copied to clipboard
open override val message: String?
Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard
open override val originalMessage: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val txId: SecureHash? = null

Id of the transaction to be notarised. Can be null if an error occurred before the id could be resolved.

Functions

Link copied to clipboard
open override fun addSuppressed(suppressed: Array<Throwable>)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getErrorId(): Long?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setCause(cause: Throwable?)
Link copied to clipboard
open override fun setMessage(message: String?)
Link copied to clipboard