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(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 |
Properties
| Improve this Doc View SourceKeyId
The key ID tried to look for.
Declaration
public Guid KeyId { get; }
Property Value
Type | Description |
---|---|
Guid |