Class InvalidConsensusMessageException
An exception thrown when a received Consensus
Implements
Inherited Members
Namespace: Libplanet.Net.Consensus
Assembly: Libplanet.Net.dll
Syntax
[Serializable]
public class InvalidConsensusMessageException : InvalidMessageContentException, ISerializable
Constructors
| Improve this Doc View SourceInvalidConsensusMessageException(SerializationInfo, StreamingContext)
Initializes a new instance of the Invalid
Declaration
protected InvalidConsensusMessageException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
Serialization |
info | The Serialization |
Streaming |
context | The Streaming |
InvalidConsensusMessageException(String, MessageContent, Exception)
Initializes a new instance of Invalid
Declaration
public InvalidConsensusMessageException(string message, MessageContent receivedMessage, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Message |
receivedMessage | The Consensus |
Exception | innerException | The exception that is the cause of the current exception. |
InvalidConsensusMessageException(String, MessageContent)
Initializes a new instance of Invalid
Declaration
public InvalidConsensusMessageException(string message, MessageContent receivedMessage)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Message |
receivedMessage | The Consensus |