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
Constructor and Description |
---|
InsufficientBalanceException(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. |
Modifier and Type | Method and Description |
---|---|
Amount<?> |
getAmountMissing()
An
|
public InsufficientBalanceException(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
public Amount<?> getAmountMissing()
An
class Amount
that specifies how many tokens were missing.
class Amount