16 #import "OFException.h"
17 #import "OFWindowsRegistryKey.h"
21 OF_ASSUME_NONNULL_BEGIN
32 OFWindowsRegistryKey *_registryKey;
41 @property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
51 @property (readonly, nonatomic) LSTATUS status;
63 + (instancetype)exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
64 valueName: (nullable
OFString *)valueName
65 status: (LSTATUS)status;
67 + (instancetype)exception OF_UNAVAILABLE;
79 - (instancetype)initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
80 valueName: (nullable
OFString *)valueName
81 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
83 - (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition: OFException.h:151
An exception indicating that getting a Windows registry value failed.
Definition: OFGetWindowsRegistryValueFailedException.h:31
OFString * valueName
The name of the value which could not be retrieved.
Definition: OFGetWindowsRegistryValueFailedException.h:46
A class for handling strings.
Definition: OFString.h:135