Show / Hide Table of Contents

Class NonNativeTokenException

The exception that is thrown when a non-native asset is tried to be used for system actions.

Inheritance
Object
NonNativeTokenException
Namespace: Libplanet.Assets
Assembly: Libplanet.dll
Syntax
public sealed class NonNativeTokenException : Exception

Constructors

| Improve this Doc View Source

NonNativeTokenException(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 Source

NonNativeToken

The non-native token which caused this exception.

Declaration
public Currency NonNativeToken { get; }
Property Value
Type Description
Currency

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2022 Planetarium