Class TotalSupplyNotTrackableException
The exception thrown when GetTotalSupply(Currency) was called on a
legacy untracked currency with TotalSupplyTrackable set to
false
.
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public sealed class TotalSupplyNotTrackableException : Exception
Constructors
| Improve this Doc View SourceTotalSupplyNotTrackableException(Nullable<String>, Currency)
Creates a new TotalSupplyNotTrackableException object.
Declaration
public TotalSupplyNotTrackableException(string? message, Currency currency)
Parameters
Type | Name | Description |
---|---|---|
Nullable<String> | message | Specifies a |
Currency | currency | The currency queried for the total supply. Corresponds to the Currency property. |
Properties
| Improve this Doc View SourceCurrency
The currency queried for the total supply.
Declaration
public Currency Currency { get; }
Property Value
Type | Description |
---|---|
Currency |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |