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
KeyStoreException
NoKeyException
Namespace: Libplanet.KeyStore
Assembly: Libplanet.dll
Syntax
public class NoKeyException : KeyStoreException

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 .

Guid keyId

The key ID tried to look for. It is automatically included to the 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
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2022 Planetarium