Class BlockPolicyViolationException
An exception returned when a Block<T> violates a IBlockPolicy<T>.
Inheritance
BlockPolicyViolationException
Namespace: Libplanet.Blocks
Assembly: Libplanet.dll
Syntax
public class BlockPolicyViolationException : InvalidBlockException
Constructors
| Improve this Doc View SourceBlockPolicyViolationException(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>. |