@@ -31,38 +31,34 @@ #endif /*! * @brief Creates a new, autoreleased change directory failed exception. * - * @param class_ The class of the object which caused the exception * @param path A string with the path of the directory to which couldn't be * changed * @return A new, autoreleased change directory failed exception */ -+ (instancetype)exceptionWithClass: (Class)class_ - path: (OFString*)path; ++ (instancetype)exceptionWithPath: (OFString*)path; /*! * @brief Initializes an already allocated change directory failed exception. * - * @param class_ The class of the object which caused the exception * @param path A string with the path of the directory to which couldn't be * changed * @return An initialized change directory failed exception */ -- initWithClass: (Class)class_ - path: (OFString*)path; +- initWithPath: (OFString*)path; + +/*! + * @brief Returns the path to which changing failed. + * + * @return The path to which changing failed + */ +- (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 to which changing failed. - * - * @return The path to which changing failed - */ -- (OFString*)path; @end