class NotaryException : 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.
NotaryException(error: NotaryError, txId: SecureHash? = null)
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. |
val error: NotaryError
Cause of notarisation failure. |
|
val txId: SecureHash?
Id of the transaction to be notarised. Can be null if an error occurred before the id could be resolved. |
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. |