22 OF_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;
104 OF_ASSUME_NONNULL_END
A class for handling strings.
Definition: OFString.h:142
An exception indicating that a key is undefined (e.g. for Key Value Coding).
Definition: OFUndefinedKeyException.h:30
The base class for all exceptions in ObjFW.
Definition: OFException.h:156