Class NonNativeTokenException
The exception that is thrown when a non-native asset is tried to be used for system actions.
Namespace: Libplanet.Assets
Assembly: Libplanet.dll
Syntax
public sealed class NonNativeTokenException : Exception
Constructors
| Improve this Doc View SourceNonNativeTokenException(Currency, Nullable<String>)
Creates a new NonNativeTokenException instance.
Declaration
public NonNativeTokenException(Currency nonNativeToken, string? message = null)
Parameters
Type | Name | Description |
---|---|---|
Currency | nonNativeToken | The non-native token which caused this exception. |
Nullable<String> | message | Specifies a |
Properties
| Improve this Doc View SourceNonNativeToken
The non-native token which caused this exception.
Declaration
public Currency NonNativeToken { 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 |