Show / Hide Table of Contents

Class InvalidTxException

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

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

Constructors

| Improve this Doc View Source

InvalidTxException(TxId, String)

Instantiates a new exception object with proper metadata.

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

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

String message

A descriptive error message for programmers.

Properties

| Improve this Doc View Source

TxId

The TxId of the invalid Transaction<T>.

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

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

ExtractableException.ExtractMetadata(Exception)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium