16 #import "OFException.h"
18 OF_ASSUME_NONNULL_BEGIN
37 @property (readonly, nonatomic)
id object;
47 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
id value;
49 + (instancetype)exception OF_UNAVAILABLE;
59 + (instancetype)exceptionWithObject: (
id)object key: (
OFString *)key;
70 + (instancetype)exceptionWithObject: (
id)object
72 value: (nullable
id)value;
74 - (instancetype)init OF_UNAVAILABLE;
84 - (instancetype)initWithObject: (
id)object key: (
OFString *)key;
95 - (instancetype)initWithObject: (
id)object
97 value: (nullable
id)value OF_DESIGNATED_INITIALIZER;
100 OF_ASSUME_NONNULL_END
The base class for all exceptions in ObjFW.
Definition: OFException.h:147
A class for handling strings.
Definition: OFString.h:132
An exception indicating that a key is undefined (e.g. for Key Value Coding).
Definition: OFUndefinedKeyException.h:28