Show / Hide Table of Contents

Class BlockPolicyViolationException

An exception returned when a Block violates a .

Inheritance
Object
Exception
InvalidBlockException
BlockPolicyViolationException
InvalidBlockBytesLengthException
InvalidBlockTxCountException
InvalidBlockTxCountPerSignerException
Implements
ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
Exception.ToString()
System.Exception.Data
Exception.HelpLink
System.Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
System.Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
System.Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
[Serializable]
public class BlockPolicyViolationException : InvalidBlockException, ISerializable

Constructors

| Improve this Doc View Source

BlockPolicyViolationException(SerializationInfo, StreamingContext)

An exception returned when a Block violates a .

Declaration
protected BlockPolicyViolationException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
StreamingContext context
| Improve this Doc View Source

BlockPolicyViolationException(String)

Creates a new BlockPolicyViolationException instance.

Declaration
public BlockPolicyViolationException(string message)
Parameters
Type Name Description
System.String message

A description for the reason of violation given by an implementation of .

Implements

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