Show / Hide Table of Contents

Class InvalidTxException

Serves as the base class for exceptions thrown when a transaction is invalid.

Inheritance
Object
Exception
InvalidTxException
InvalidTxGenesisHashException
InvalidTxIdException
InvalidTxNonceException
InvalidTxSignatureException
TxPolicyViolationException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
System.Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
System.Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
public abstract class InvalidTxException : Exception, ISerializable

Constructors

| Improve this Doc View Source

InvalidTxException(String, TxId, Exception)

Serves as the base class for exceptions thrown when a transaction is invalid.

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's Id. It is automatically included to the Message string.

Exception innerException

The Exception for InnerException.

| 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's Id. It is automatically included to the Message string.

Properties

| Improve this Doc View Source

TxId

The TxId of the invalid Transaction.

Declaration
public TxId TxId { get; }
Property Value
Type Description
TxId

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium