Show / Hide Table of Contents

Class MismatchedAddressException

The exception that is thrown when an unprotected private key's actual address does not match to the expected address.

Inheritance
Object
Exception
SystemException
InvalidOperationException
MismatchedAddressException
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.KeyStore
Assembly: Libplanet.dll
Syntax
public class MismatchedAddressException : InvalidOperationException, ISerializable

Constructors

| Improve this Doc View Source

MismatchedAddressException(String, in Address, in 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 message string.

Address actualAddress

The actual address of an unprotected private key. It is automatically included to the message string.

Properties

| Improve this Doc View Source

ActualAddress

The actual address of the unprotected private key.

Declaration
public Address ActualAddress { get; }
Property Value
Type Description
Address
| Improve this Doc View Source

ExpectedAddress

The expected address of the protected private key.

Declaration
public Address ExpectedAddress { get; }
Property Value
Type Description
Address

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