Show / Hide Table of Contents

Class BlockProtocolVersionNotSupportedException

The exception that is thrown when an IPreEvaluationBlock with a protocol version that is not supported by an implementation of IActionEvaluator is passed as an argument to Evaluate(IPreEvaluationBlock, Nullable<HashDigest<SHA256>>).

Inheritance
System.Object
BlockProtocolVersionNotSupportedException
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
public sealed class BlockProtocolVersionNotSupportedException : Exception

Constructors

| Improve this Doc View Source

BlockProtocolVersionNotSupportedException(String, Int32)

Creates a new BlockProtocolVersionNotSupportedException object.

Declaration
public BlockProtocolVersionNotSupportedException(string message, int blockProtocolVersion)
Parameters
Type Name Description
System.String message

Specifies a .

System.Int32 blockProtocolVersion

The ProtocolVersion of the Block that action belongs to.

Properties

| Improve this Doc View Source

BlockProtocolVersion

The ProtocolVersion of the Block that is not supported by an implementation of IActionEvaluator.

Declaration
public int BlockProtocolVersion { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

The exception that is thrown when an IPreEvaluationBlock with a protocol version that is not supported by an implementation of IActionEvaluator is passed as an argument to Evaluate(IPreEvaluationBlock, Nullable<HashDigest<SHA256>>).

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–2023 Planetarium