Class InvalidTxException
Serves as the base class for exceptions thrown by Validate().
Inheritance
InvalidTxException
Implements
Inherited Members
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
public abstract class InvalidTxException : Exception, ISerializable
Constructors
| Improve this Doc View SourceInvalidTxException(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 SourceTxId
The TxId of the invalid Transaction<T>.
Declaration
public TxId TxId { get; }
Property Value
Type | Description |
---|---|
TxId |