Class SupplyOverflowException
The exception thrown when a minter tries to mint a currency such that the resulting total supply exceed the maximum amount.
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 SupplyOverflowException : Exception, ISerializable
Constructors
| Improve this Doc View SourceSupplyOverflowException(String, FungibleAssetValue)
Creates a new SupplyOverflowException object.
Declaration
public SupplyOverflowException(string message, FungibleAssetValue amount)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | Specifies a System.Exception.Message. |
| FungibleAssetValue | amount | The attempted amount to be minted. Corresponds to the Amount property. |
Properties
| Improve this Doc View SourceAmount
The attempted amount to be minted.
Declaration
public FungibleAssetValue Amount { get; }
Property Value
| Type | Description |
|---|---|
| FungibleAssetValue |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
The exception thrown when a minter tries to mint a currency such that the resulting total supply exceed the maximum amount.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | |
| StreamingContext | context |