@@ -51,11 +51,11 @@ * @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 couldn't be * read / written - * @param errNo The errno of the error + * @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; @@ -75,11 +75,11 @@ * @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 couldn't be * read / written - * @param errNo The errno of the error + * @param errNo The errno of the error that occurred * @return A new open file failed exception */ - initWithObject: (id)object requestedLength: (size_t)requestedLength errNo: (int)errNo; @@ -98,11 +98,11 @@ * @return The requested length of the data that couldn't be read / written */ - (size_t)requestedLength; /*! - * @brief Returns the errno from when the exception was created. + * @brief Returns the errno of the error that occurred. * - * @return The errno from when the exception was created + * @return The errno of the error that occurred */ - (int)errNo; @end