Show / Hide Table of Contents

Class BlockPolicyViolationException

An exception returned when a Block<T> violates a IBlockPolicy<T>.

Inheritance
Object
Exception
InvalidBlockException
BlockPolicyViolationException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
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 BlockPolicyViolationException : InvalidBlockException, ISerializable

Constructors

| Improve this Doc View Source

BlockPolicyViolationException(String)

Creates a new BlockPolicyViolationException instance.

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

A description for the reason of violation given by an implementation of IBlockPolicy<T>.

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