public class InsufficientBalanceException
Thrown if a request is made to spend an amount of a interface FungibleAsset
but there aren't enough tokens in the vault.
interface FungibleAsset
public InsufficientBalanceException(@NotNull Amount<?> amountMissing)
Thrown if a request is made to spend an amount of a interface FungibleAsset
but there aren't enough tokens in the vault.
amountMissing
- An class Amount
that specifies how many tokens were missing.interface FungibleAsset
@NotNull public Amount<?> getAmountMissing()
An
class Amount
that specifies how many tokens were missing.
class Amount