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