Class InvalidTxUpdatedAddressesException
The exception that is thrown when a given TxId cannot be found. The exception that is thrown when a Transaction<T>'s Actions try to update any Addresses that are not included in UpdatedAddresses (i.e., Addresses that Transaction<T>'s Signer granted to update.)
Implements
Inherited Members
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
public class InvalidTxUpdatedAddressesException : InvalidTxException, ISerializable
Constructors
| Improve this Doc View SourceInvalidTxUpdatedAddressesException(TxId, IImmutableSet<Address>, IImmutableSet<Address>, String)
Creates a new InvalidTxUpdatedAddressesException object.
Declaration
public InvalidTxUpdatedAddressesException(TxId txid, IImmutableSet<Address> updatableAddresses, IImmutableSet<Address> updatedAddresses, string message)
Parameters
Type | Name | Description |
---|---|---|
TxId | txid | The invalid Transaction<T>'s Id. It is automatically included to the Message string. |
IImmutableSet<Address> | updatableAddresses | Specifies the UpdatableAddresses. |
IImmutableSet<Address> | updatedAddresses | Specified the UpdatedAddresses. |
String | message | Specifies a Message. |
Properties
| Improve this Doc View SourceUpdatableAddresses
Expected Addresses to be updated. That means, Addresses that Transaction<T>'s Signer granted to update.
Declaration
public IImmutableSet<Address> UpdatableAddresses { get; }
Property Value
Type | Description |
---|---|
IImmutableSet<Address> |
UpdatedAddresses
Declaration
public IImmutableSet<Address> UpdatedAddresses { get; }
Property Value
Type | Description |
---|---|
IImmutableSet<Address> |