@@ -44,10 +44,12 @@ /*! * The value for the undefined key */ @property (readonly, nonatomic) id value; ++ (instancetype)exception OF_UNAVAILABLE; + /*! * @brief Creates a new, autoreleased undefined key exception. * * @param object The object on which the key is undefined * @param key The key which is undefined @@ -67,10 +69,12 @@ * @return A new, autoreleased undefined key exception */ + (instancetype)exceptionWithObject: (id)object key: (OFString *)key value: (id)value; + +- init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated undefined key exception. * * @param object The object on which the key is undefined