Class InsufficientBalanceException
The exception that is thrown when a sender has less Balance than amount to transfer or an owner has less Balance than amount to burn.
Implements
Inherited Members
System.Exception.GetBaseException()
System.Exception.HelpLink
System.Exception.InnerException
System.Exception.Message
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
Namespace: Libplanet.Action.State
Assembly: Libplanet.Action.dll
Syntax
[Serializable]
public sealed class InsufficientBalanceException : Exception, ISerializable
Constructors
| Improve this Doc View SourceInsufficientBalanceException(String, Address, FungibleAssetValue)
Creates a new InsufficientBalanceException object.
Declaration
public InsufficientBalanceException(string message, Address address, FungibleAssetValue balance)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | Specifies a System.Exception.Message. |
| Address | address | The owner of the insufficient |
| FungibleAssetValue | balance | The account's current balance. Corresponds to the Balance property. |
Properties
| Improve this Doc View SourceAddress
The owner of the insufficient Balance.
Declaration
public Address Address { get; }
Property Value
| Type | Description |
|---|---|
| Address |
Balance
The account's current balance.
Declaration
public FungibleAssetValue Balance { get; }
Property Value
| Type | Description |
|---|---|
| FungibleAssetValue |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
The exception that is thrown when a sender has less Balance than amount to transfer or an owner has less Balance than amount to burn.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | |
| StreamingContext | context |