@@ -31,36 +31,32 @@ #endif /*! * @brief Creates a new, autoreleased delete directory failed exception. * - * @param class_ The class of the object which caused the exception * @param path The path of the directory * @return A new, autoreleased delete directory failed exception */ -+ (instancetype)exceptionWithClass: (Class)class_ - path: (OFString*)path; ++ (instancetype)exceptionWithPath: (OFString*)path; /*! * @brief Initializes an already allocated delete directory failed exception. * - * @param class_ The class of the object which caused the exception * @param path The path of the directory * @return An initialized delete directory failed exception */ -- initWithClass: (Class)class_ - path: (OFString*)path; +- initWithPath: (OFString*)path; + +/*! + * @brief Returns the path of the directory. + * + * @return The path of the directory + */ +- (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 the path of the directory. - * - * @return The path of the directory - */ -- (OFString*)path; @end