Show / Hide Table of Contents

Class CurrencyPermissionException

The exception that is thrown when a TransactionSigner has no rights to mint a Currency or burn assets of a Currency.

Inheritance
Object
Exception
CurrencyPermissionException
Implements
ISerializable
Inherited Members
System.Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
System.Exception.HelpLink
Exception.HResult
System.Exception.InnerException
System.Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Action.State
Assembly: Libplanet.Action.dll
Syntax
[Serializable]
public sealed class CurrencyPermissionException : Exception, ISerializable

Constructors

| Improve this Doc View Source

CurrencyPermissionException(String, Address, Currency)

Creates a new CurrencyPermissionException object.

Declaration
public CurrencyPermissionException(string message, Address transactionSigner, Currency currency)
Parameters
Type Name Description
String message

Specifies a System.Exception.Message.

Address transactionSigner

The address of the account who tried to mint or burn assets of a currency. Corresponds to the TransactionSigner property.

Currency currency

The to be tried to be minted or burned by the transactionSigner. Corresponds to the Currency property.

Properties

| Improve this Doc View Source

Currency

The to be tried to be minted or burned by the TransactionSigner.

Declaration
public Currency Currency { get; }
Property Value
Type Description
Currency
| Improve this Doc View Source

TransactionSigner

The address of the account who tried to mint or burn assets of a Currency.

Declaration
public Address TransactionSigner { get; }
Property Value
Type Description
Address

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium