Show / Hide Table of Contents

Class InvalidTxException

Serves as the base class for exceptions thrown by Validate().

Inheritance
Object
InvalidTxException
InvalidTxGenesisHashException
InvalidTxIdException
InvalidTxNonceException
InvalidTxSignatureException
TxPolicyViolationException
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
public abstract class InvalidTxException : Exception

Constructors

| Improve this Doc View Source

InvalidTxException(String, TxId)

Instantiates a new exception object with proper metadata. Use InvalidTxException(String, TxId, Exception) if innerException is required.

Declaration
protected InvalidTxException(string message, TxId txid)
Parameters
Type Name Description
String message

A descriptive error message for programmers.

TxId txid

The invalid Transaction<T>'s Id. It is automatically included to the string.

| Improve this Doc View Source

InvalidTxException(String, TxId, Exception)

Declaration
protected InvalidTxException(string message, TxId txid, Exception innerException)
Parameters
Type Name Description
String message

A descriptive error message for programmers.

TxId txid

The invalid Transaction<T>'s Id. It is automatically included to the string.

Exception innerException

The for .

Properties

| Improve this Doc View Source

TxId

The TxId of the invalid Transaction<T>.

Declaration
public TxId TxId { get; }
Property Value
Type Description
TxId
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2022 Planetarium