22OF_ASSUME_NONNULL_BEGIN
42@property (readonly, nonatomic)
id object;
47@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
key;
52@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
id value;
62+ (instancetype)exceptionWithObject: (
id)object key: (
OFString *)key;
73+ (instancetype)exceptionWithObject: (
id)object
75 value: (nullable
id)value;
77+ (instancetype)exception OF_UNAVAILABLE;
87- (instancetype)initWithObject: (
id)object key: (
OFString *)key;
98- (instancetype)initWithObject: (
id)object
100 value: (nullable
id)value OF_DESIGNATED_INITIALIZER;
102- (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
A class for handling strings.
Definition OFString.h:139
An exception indicating that a key is undefined (e.g. for Key Value Coding).
Definition OFUndefinedKeyException.h:32
OFString * key
The key which is undefined.
Definition OFUndefinedKeyException.h:47