21#import "OFWindowsRegistryKey.h"
25OF_ASSUME_NONNULL_BEGIN
36 OFWindowsRegistryKey *_registryKey;
45@property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
55@property (readonly, nonatomic) LSTATUS status;
67+ (instancetype)exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
68 valueName: (nullable
OFString *)valueName
69 status: (LSTATUS)status;
71+ (instancetype)exception OF_UNAVAILABLE;
83- (instancetype)initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
84 valueName: (nullable
OFString *)valueName
85 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
87- (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
An exception indicating that getting a Windows registry value failed.
Definition OFGetWindowsRegistryValueFailedException.h:35
OFString * valueName
The name of the value which could not be retrieved.
Definition OFGetWindowsRegistryValueFailedException.h:50
A class for handling strings.
Definition OFString.h:139