Class InvalidBlockException
Serves as the base class for exceptions related Blocks' integrity and validity.
Inheritance
InvalidBlockException
Implements
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Data
System.Exception.HResult
System.Exception.TargetSite
System.Object.GetHashCode()
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
public abstract class InvalidBlockException : Exception, ISerializable
Constructors
| Improve this Doc View SourceInvalidBlockException(SerializationInfo, StreamingContext)
Serves as the base class for exceptions related Blocks' integrity and validity.
Declaration
protected InvalidBlockException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| StreamingContext | context |
InvalidBlockException(String)
Serves as the base class for exceptions related Blocks' integrity and validity.
Declaration
protected InvalidBlockException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message |