Class InvalidBlockTxCountPerSignerException
An exception thrown when the count of Transactions
does not follow the constraint provided by
Inheritance
System.Object
InvalidBlockTxCountPerSignerException
Namespace: Libplanet.Types.Blocks
Assembly: Libplanet.Types.dll
Syntax
public sealed class InvalidBlockTxCountPerSignerException : BlockPolicyViolationException
Constructors
| Improve this Doc View SourceInvalidBlockTxCountPerSignerException(String, Address, Int32)
Initializes a new instance of InvalidBlockTxCountPerSignerException class.
Declaration
public InvalidBlockTxCountPerSignerException(string message, Address signer, int txCount)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
Address | signer | An offending Address with too many Transaction's in a Block. |
System.Int32 | txCount | The invalid count of Transactions
by |
Properties
| Improve this Doc View SourceSigner
An exception thrown when the count of Transactions
does not follow the constraint provided by
Declaration
public Address Signer { get; }
Property Value
Type | Description |
---|---|
Address |
TxCount
An exception thrown when the count of Transactions
does not follow the constraint provided by
Declaration
public int TxCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
An exception thrown when the count of Transactions
does not follow the constraint provided by
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |