Class InvalidTxIdException
The exception that is thrown when a given TxId cannot be found.
Implements
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Data
System.Exception.HResult
System.Exception.TargetSite
System.Object.GetHashCode()
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
[Serializable]
public class InvalidTxIdException : InvalidTxException, ISerializable
Remarks
This does not mean a given value is an invalid encoding of TxId, but there is no corresponding entry to a given TxId, which is valid.
Constructors
| Improve this Doc View SourceInvalidTxIdException(String, TxId)
Creates a new InvalidTxIdException object.
Declaration
public InvalidTxIdException(string message, TxId txid)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | Specifies an Message. |
| TxId | txid | The invalid TxId. It is automatically included to the Message string. |
Remarks
This does not mean a given value is an invalid encoding of TxId, but there is no corresponding entry to a given TxId, which is valid.