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(Guid, String)

Instantiates a new exception object with proper metadata.

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

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

String message

A descriptive error message for programmers. Goes to .

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
Back to top Copyright © 2019–2020 Planetarium