Show / Hide Table of Contents

Class InvalidBlockPublicKeyException

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

Inheritance
Object
Exception
InvalidBlockException
InvalidBlockPublicKeyException
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 InvalidBlockPublicKeyException : InvalidBlockException, ISerializable

Constructors

| Improve this Doc View Source

InvalidBlockPublicKeyException(PublicKey, String)

Creates a new InvalidBlockPublicKeyException instance.

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

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

String message

A message that describes the error.

| Improve this Doc View Source

InvalidBlockPublicKeyException(SerializationInfo, StreamingContext)

Declaration
protected InvalidBlockPublicKeyException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context

Properties

| Improve this Doc View Source

InvalidPublicKey

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

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

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