Class TotalSupplyNotTrackableException
The exception thrown when GetTotalSupply(Currency) was called on a
legacy untracked currency with
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.HResult
System.Exception.StackTrace
Namespace: Libplanet.Action.State
Assembly: Libplanet.Action.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
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
Overrides
See Also
| Improve this Doc View SourceWithDefaultMessage(Currency)
The exception thrown when GetTotalSupply(Currency) was called on a
legacy untracked currency with
Declaration
public static TotalSupplyNotTrackableException WithDefaultMessage(Currency currency)
Parameters
Type | Name | Description |
---|---|---|
Currency | currency |
Returns
Type | Description |
---|---|
TotalSupplyNotTrackableException |
See Also
Implements
System.Runtime.Serialization.ISerializable