Class BlockPolicyViolationException
An exception returned when a Block violates
a
Inheritance
BlockPolicyViolationException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.HResult
System.Exception.StackTrace
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
[Serializable]
public class BlockPolicyViolationException : InvalidBlockException, ISerializable
Constructors
| Improve this Doc View SourceBlockPolicyViolationException(SerializationInfo, StreamingContext)
An exception returned when a Block violates
a
Declaration
protected BlockPolicyViolationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
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 |
Implements
System.Runtime.Serialization.ISerializable