Show / Hide Table of Contents

Class NoKeyException

The exception that is thrown when there is no ProtectedPrivateKey with a given key ID in an IKeyStore.

Inheritance
Object
Exception
KeyStoreException
NoKeyException
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 NoKeyException : KeyStoreException, ISerializable

Constructors

| Improve this Doc View Source

NoKeyException(String, Guid)

Instantiates a new exception object with proper metadata.

Declaration
public NoKeyException(string message, Guid keyId)
Parameters
Type Name Description
String message

A descriptive error message for programmers. Goes to Message.

Guid keyId

The key ID tried to look for. It is automatically included to the Message string.

Properties

| Improve this Doc View Source

KeyId

The key ID tried to look for.

Declaration
public Guid KeyId { get; }
Property Value
Type Description
Guid

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

ExtractableException.ExtractMetadata(Exception)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium