Show / Hide Table of Contents

Class BlockExceedingTransactionsException

The exception that is thrown when a Block<T> has too many Transactions (i.e., more than the number specified by GetMaxTransactionsPerBlock(Int64)).

Inheritance
Object
Exception
InvalidBlockException
BlockExceedingTransactionsException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Blocks
Assembly: Libplanet.dll
Syntax
[Serializable]
public class BlockExceedingTransactionsException : InvalidBlockException, ISerializable

Constructors

| Improve this Doc View Source

BlockExceedingTransactionsException(Int32, Int32, String)

Declaration
public BlockExceedingTransactionsException(int actualTransactions, int maxTransactionsPerBlock, string message)
Parameters
Type Name Description
Int32 actualTransactions
Int32 maxTransactionsPerBlock
String message
| Improve this Doc View Source

BlockExceedingTransactionsException(SerializationInfo, StreamingContext)

Declaration
public BlockExceedingTransactionsException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context

Properties

| Improve this Doc View Source

ActualTransactions

The actual number of transactions in the block.

Declaration
public int ActualTransactions { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

MaxTransactionsPerBlock

The maximum allowed number of transactions per block.

Declaration
public int MaxTransactionsPerBlock { get; set; }
Property Value
Type Description
Int32
See Also
GetMaxTransactionsPerBlock(Int64)

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
Overrides
Exception.GetObjectData(SerializationInfo, StreamingContext)

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

ExtractableException.ExtractMetadata(Exception)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium