@@ -53,11 +53,11 @@ /*! * @brief Creates a new, autoreleased open item failed exception. * * @param path A string with the path of the item tried to open - * @param errNo The errno of the error + * @param errNo The errno of the error that occurred * @return A new, autoreleased open item failed exception */ + (instancetype)exceptionWithPath: (OFString*)path errNo: (int)errNo; @@ -64,11 +64,11 @@ /*! * @brief Creates a new, autoreleased open item failed exception. * * @param path A string with the path of the item tried to open * @param mode A string with the mode in which the item should have been opened - * @param errNo The errno of the error + * @param errNo The errno of the error that occurred * @return A new, autoreleased open item failed exception */ + (instancetype)exceptionWithPath: (OFString*)path mode: (OFString*)mode errNo: (int)errNo; @@ -93,11 +93,11 @@ /*! * @brief Initializes an already allocated open item failed exception. * * @param path A string with the path of the item which couldn't be opened - * @param errNo The errno of the error + * @param errNo The errno of the error that occurred * @return An initialized open item failed exception */ - initWithPath: (OFString*)path errNo: (int)errNo; @@ -104,11 +104,11 @@ /*! * @brief Initializes an already allocated open item failed exception. * * @param path A string with the path of the item which couldn't be opened * @param mode A string with the mode in which the item should have been opened - * @param errNo The errno of the error + * @param errNo The errno of the error that occurred * @return An initialized open item failed exception */ - initWithPath: (OFString*)path mode: (OFString*)mode errNo: (int)errNo; @@ -127,11 +127,11 @@ * @return A string with the mode in which the item should have been opened */ - (OFString*)mode; /*! - * @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