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
Object
Exception
BlockProtocolVersionNotSupportedException
Implements
ISerializable
Inherited Members
System.Exception.GetBaseException()
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
Assembly: Libplanet.Action.dll
Syntax
[Serializable]
public sealed class BlockProtocolVersionNotSupportedException : Exception, ISerializable

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
String message

Specifies a System.Exception.Message.

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

Implements

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