@@ -53,41 +53,19 @@ * @brief Creates a new, autoreleased read or write failed exception. * * @param object The object from which reading or to which writing failed * @param requestedLength The requested length of the data that could not be * read / written - * @return A new, autoreleased read or write failed exception - */ -+ (instancetype)exceptionWithObject: (id)object - requestedLength: (size_t)requestedLength; - -/*! - * @brief Creates a new, autoreleased read or write failed exception. - * - * @param object The object from which reading or to which writing failed - * @param requestedLength The requested length of the data that could not be - * read / written * @param errNo The errno of the error that occurred * @return A new, autoreleased read or write failed exception */ + (instancetype)exceptionWithObject: (id)object requestedLength: (size_t)requestedLength errNo: (int)errNo; - init OF_UNAVAILABLE; -/*! - * @brief Initializes an already allocated read or write failed exception. - * - * @param object The object from which reading or to which writing failed - * @param requestedLength The requested length of the data that could not be - * read / written - * @return A new open file failed exception - */ -- initWithObject: (id)object - requestedLength: (size_t)requestedLength; - /*! * @brief Initializes an already allocated read or write failed exception. * * @param object The object from which reading or to which writing failed * @param requestedLength The requested length of the data that could not be