Show / Hide Table of Contents

Class InvalidBlockPublicKeyException

An exception thrown when a block's public key is invalid.

Inheritance
System.Object
InvalidBlockException
InvalidBlockPublicKeyException
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
public class InvalidBlockPublicKeyException : InvalidBlockException

Constructors

| Improve this Doc View Source

InvalidBlockPublicKeyException(SerializationInfo, StreamingContext)

An exception thrown when a block's public key is invalid.

Declaration
protected InvalidBlockPublicKeyException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
| Improve this Doc View Source

InvalidBlockPublicKeyException(String, PublicKey)

Creates a new InvalidBlockPublicKeyException instance.

Declaration
public InvalidBlockPublicKeyException(string message, PublicKey invalidPublicKey)
Parameters
Type Name Description
System.String message

A message that describes the error.

PublicKey invalidPublicKey

The invalid public key tried to be used in the block.

Properties

| Improve this Doc View Source

InvalidPublicKey

The invalid public key tried to be used in the block.

Declaration
public PublicKey InvalidPublicKey { get; }
Property Value
Type Description
PublicKey

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

An exception thrown when a block's public key is invalid.

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