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 SourceBlockProtocolVersionNotSupportedException(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 |
Properties
| Improve this Doc View SourceBlockProtocolVersion
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 SourceGetObjectData(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 |