Class InvalidHeightIncreasingException
An exception thrown when a NewHeight(Int64) has called with height is not the index of Tip + 1.
Implements
Inherited Members
Namespace: Libplanet.Net.Consensus
Assembly: Libplanet.Net.dll
Syntax
[Serializable]
public class InvalidHeightIncreasingException : Exception, ISerializable
Constructors
| Improve this Doc View SourceInvalidHeightIncreasingException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidHeightIncreasingException class with serialized data.
Declaration
protected InvalidHeightIncreasingException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
InvalidHeightIncreasingException(String)
Initializes a new instance of InvalidHeightIncreasingException class.
Declaration
public InvalidHeightIncreasingException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |