@@ -29,32 +29,39 @@ @property (readonly, copy, nonatomic) OFString *path; @property (readonly) int errNo; #endif /*! + * @brief Creates a new, autoreleased create directory failed exception. + * * @param class_ The class of the object which caused the exception * @param path A string with the path of the directory which couldn't be created - * @return A new create directory failed exception + * @return A new, autoreleased create directory failed exception */ + (instancetype)exceptionWithClass: (Class)class_ path: (OFString*)path; /*! - * Initializes an already allocated create directory failed exception. + * @brief Initializes an already allocated create directory failed exception. * * @param class_ The class of the object which caused the exception * @param path A string with the path of the directory which couldn't be created * @return An initialized create directory failed exception */ - initWithClass: (Class)class_ path: (OFString*)path; /*! + * @brief Returns the errno from when the exception was created. + * * @return The errno from when the exception was created */ - (int)errNo; /*! + * @brief Returns a string with the path of the directory which couldn't be + * created. + * * @return A string with the path of the directory which couldn't be created */ - (OFString*)path; @end