Class InvalidMaj23Exception
An exception thrown when a received Maj23 is invalid. In particular, this is thrown pre-emptively before a Maj23 is processed, i.e. does not change the state of a Context in a meaningful way.
Implements
Inherited Members
Namespace: Libplanet.Net.Consensus
Assembly: Libplanet.Net.dll
Syntax
[Serializable]
public class InvalidMaj23Exception : Exception, ISerializable
Constructors
| Improve this Doc View SourceInvalidMaj23Exception(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidConsensusMessageException class with serialized data.
Declaration
protected InvalidMaj23Exception(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. |
InvalidMaj23Exception(String, Maj23, Exception)
Initializes a new instance of InvalidConsensusMessageException class.
Declaration
public InvalidMaj23Exception(string message, Maj23 maj23, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Maj23 | maj23 | The Maj23 that caused this exception. |
Exception | innerException | The exception that is the cause of the current exception. |
InvalidMaj23Exception(String, Maj23)
Initializes a new instance of InvalidConsensusMessageException class.
Declaration
public InvalidMaj23Exception(string message, Maj23 maj23)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Maj23 | maj23 | The Maj23 that caused this exception. |
Properties
| Improve this Doc View SourceMaj23
An exception thrown when a received Maj23 is invalid. In particular, this is thrown pre-emptively before a Maj23 is processed, i.e. does not change the state of a Context in a meaningful way.
Declaration
public Maj23 Maj23 { get; }
Property Value
Type | Description |
---|---|
Maj23 |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
An exception thrown when a received Maj23 is invalid. In particular, this is thrown pre-emptively before a Maj23 is processed, i.e. does not change the state of a Context in a meaningful way.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |