@@ -20,17 +20,18 @@ /*! * @class OFUndefinedKeyException \ * OFUndefinedKeyException.h ObjFW/OFUndefinedKeyException.h * - * @brief An exception indicating that a key for Key Value Coding is undefined. + * @brief An exception indicating that a key is undefined (e.g. for Key Value + * Coding). */ @interface OFUndefinedKeyException: OFException { id _object; OFString *_key; - id _value; + id _Nullable _value; } /*! * The object on which the key is undefined. */ @@ -42,11 +43,11 @@ @property (readonly, nonatomic) OFString *key; /*! * The value for the undefined key */ -@property (readonly, nonatomic) id value; +@property OF_NULLABLE_PROPERTY (readonly, nonatomic) id value; + (instancetype)exception OF_UNAVAILABLE; /*! * @brief Creates a new, autoreleased undefined key exception.