Class NoKeyException
The exception that is thrown when there is no ProtectedPrivateKey with a given key ID in an IKeyStore.
Namespace: Libplanet.KeyStore
Assembly: Libplanet.dll
Syntax
public class NoKeyException : KeyStoreException
Constructors
| Improve this Doc View SourceNoKeyException(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 | message | A descriptive error message for programmers.
Goes to |
Properties
| Improve this Doc View SourceKeyId
The key ID tried to look for.
Declaration
public Guid KeyId { get; }
Property Value
Type | Description |
---|---|
Guid |