Show / Hide Table of Contents

Class DuplicateVoteException

An exception thrown when a duadskf Vote is invalid. In particular, this is thrown pre-emptively before a Vote is processed, i.e. does not change the state of a in a meaningful way.

Inheritance
System.Object
EvidenceException
DuplicateVoteException
Inherited Members
EvidenceException.CreateEvidence(IEvidenceContext)
Namespace: Libplanet.Types.Evidence
Assembly: Libplanet.Types.dll
Syntax
public class DuplicateVoteException : EvidenceException

Constructors

| Improve this Doc View Source

DuplicateVoteException(SerializationInfo, StreamingContext)

Initializes a new instance of the class with serialized data.

Declaration
protected DuplicateVoteException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The that holds the serialized object data about the exception being thrown.

StreamingContext context

The that contains contextual information about the source or destination.

| Improve this Doc View Source

DuplicateVoteException(String, Vote, Vote, Exception)

Initializes a new instance of class.

Declaration
public DuplicateVoteException(string message, Vote voteRef, Vote voteDup, Exception innerException)
Parameters
Type Name Description
System.String message

The error message that explains the reason for the exception.

Vote voteRef

The 1Vote that caused this exception.

Vote voteDup

The 2Vote that caused this exception.

Exception innerException

The exception that is the cause of the current exception.

| Improve this Doc View Source

DuplicateVoteException(String, Vote, Vote)

Initializes a new instance of class.

Declaration
public DuplicateVoteException(string message, Vote voteRef, Vote voteDup)
Parameters
Type Name Description
System.String message

The error message that explains the reason for the exception.

Vote voteRef

The Vote that caused this exception.

Vote voteDup

The 1Vote that caused this exception.

Properties

| Improve this Doc View Source

Height

An exception thrown when a duadskf Vote is invalid. In particular, this is thrown pre-emptively before a Vote is processed, i.e. does not change the state of a in a meaningful way.

Declaration
public override long Height { get; }
Property Value
Type Description
System.Int64
Overrides
EvidenceException.Height
| Improve this Doc View Source

VoteDup

An exception thrown when a duadskf Vote is invalid. In particular, this is thrown pre-emptively before a Vote is processed, i.e. does not change the state of a in a meaningful way.

Declaration
public Vote VoteDup { get; }
Property Value
Type Description
Vote
| Improve this Doc View Source

VoteRef

An exception thrown when a duadskf Vote is invalid. In particular, this is thrown pre-emptively before a Vote is processed, i.e. does not change the state of a in a meaningful way.

Declaration
public Vote VoteRef { get; }
Property Value
Type Description
Vote

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

An exception thrown when a duadskf Vote is invalid. In particular, this is thrown pre-emptively before a Vote is processed, i.e. does not change the state of a in a meaningful way.

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
| Improve this Doc View Source

OnCreateEvidence(IEvidenceContext)

An exception thrown when a duadskf Vote is invalid. In particular, this is thrown pre-emptively before a Vote is processed, i.e. does not change the state of a in a meaningful way.

Declaration
protected override EvidenceBase OnCreateEvidence(IEvidenceContext evidenceContext)
Parameters
Type Name Description
IEvidenceContext evidenceContext
Returns
Type Description
EvidenceBase
Overrides
EvidenceException.OnCreateEvidence(IEvidenceContext)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium