Show / Hide Table of Contents

Class SupplyOverflowException

The exception thrown when a minter tries to mint a currency such that the resulting total supply exceed the maximum amount.

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

Constructors

| Improve this Doc View Source

SupplyOverflowException(String, FungibleAssetValue)

Creates a new SupplyOverflowException object.

Declaration
public SupplyOverflowException(string message, FungibleAssetValue amount)
Parameters
Type Name Description
String message

Specifies a Message.

FungibleAssetValue amount

The attempted amount to be minted. Corresponds to the Amount property.

See Also
MintAsset(IActionContext, Address, FungibleAssetValue)

Properties

| Improve this Doc View Source

Amount

The attempted amount to be minted.

Declaration
public FungibleAssetValue Amount { get; }
Property Value
Type Description
FungibleAssetValue
See Also
MintAsset(IActionContext, Address, FungibleAssetValue)

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

The exception thrown when a minter tries to mint a currency such that the resulting total supply exceed the maximum amount.

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
Overrides
Exception.GetObjectData(SerializationInfo, StreamingContext)
See Also
MintAsset(IActionContext, Address, FungibleAssetValue)

Implements

System.Runtime.Serialization.ISerializable

See Also

MintAsset(IActionContext, Address, FungibleAssetValue)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium