21#import "OFWindowsRegistryKey.h"
25OF_ASSUME_NONNULL_BEGIN
35 OFWindowsRegistryKey *_registryKey;
44@property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
54@property (readonly, nonatomic) LSTATUS status;
66+ (instancetype)exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
67 valueName: (nullable
OFString *)valueName
68 status: (LSTATUS)status;
70+ (instancetype)exception OF_UNAVAILABLE;
82- (instancetype)initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
83 valueName: (nullable
OFString *)valueName
84 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
86- (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:34
OFString * valueName
The name of the value which could not be retrieved.
Definition OFGetWindowsRegistryValueFailedException.h:49
A class for handling strings.
Definition OFString.h:143