@@ -39,19 +39,23 @@ /*! * The object which the memory is not part of. */ @property (readonly, nonatomic) id object; ++ (instancetype)exception OF_UNAVAILABLE; + /*! * @brief Creates a new, autoreleased memory not part of object exception. * * @param pointer A pointer to the memory that is not part of the object * @param object The object which the memory is not part of * @return A new, autoreleased memory not part of object exception */ + (instancetype)exceptionWithPointer: (void *)pointer object: (id)object; + +- init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated memory not part of object exception. * * @param pointer A pointer to the memory that is not part of the object