class InsufficientBalanceException : FlowException
Thrown if a request is made to spend an amount of a FungibleAsset but there aren't enough tokens in the vault.
InsufficientBalanceException(amountMissing: Amount<*>)
Thrown if a request is made to spend an amount of a FungibleAsset but there aren't enough tokens in the vault. |
val amountMissing: Amount<*>
An Amount that specifies how many tokens were missing. |
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. |