Class MismatchedAddressException
The exception that is thrown when an unprotected private key's actual address does not match to the expected address.
Namespace: Libplanet.KeyStore
Assembly: Libplanet.dll
Syntax
public class MismatchedAddressException : InvalidOperationException
Constructors
| Improve this Doc View SourceMismatchedAddressException(String, Address, Address)
Creates a new MismatchedAddressException object.
Declaration
public MismatchedAddressException(string message, in Address expectedAddress, in Address actualAddress)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Address | expectedAddress | The expected address of a protected private key.
It is automatically included to the |
Address | actualAddress | The actual address of an unprotected private key.
It is automatically included to the |
Properties
| Improve this Doc View SourceActualAddress
The actual address of the unprotected private key.
Declaration
public Address ActualAddress { get; }
Property Value
Type | Description |
---|---|
Address |
ExpectedAddress
The expected address of the protected private key.
Declaration
public Address ExpectedAddress { get; }
Property Value
Type | Description |
---|---|
Address |