22OF_ASSUME_NONNULL_BEGIN
41@property (readonly, nonatomic)
id object;
46@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
key;
51@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
id value;
61+ (instancetype)exceptionWithObject: (
id)object key: (
OFString *)key;
72+ (instancetype)exceptionWithObject: (
id)object
74 value: (nullable
id)value;
76+ (instancetype)exception OF_UNAVAILABLE;
86- (instancetype)initWithObject: (
id)object key: (
OFString *)key;
97- (instancetype)initWithObject: (
id)object
99 value: (nullable
id)value OF_DESIGNATED_INITIALIZER;
101- (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
A class for handling strings.
Definition OFString.h:143
An exception indicating that a key is undefined (e.g. for Key Value Coding).
Definition OFUndefinedKeyException.h:31
OFString * key
The key which is undefined.
Definition OFUndefinedKeyException.h:46