@@ -32,37 +32,26 @@ #endif /*! * @brief Creates a new, autoreleased copy file failed exception. * - * @param class_ The class of the object which caused the exception * @param sourcePath The original path * @param destinationPath The new path * @return A new, autoreleased copy file failed exception */ -+ (instancetype)exceptionWithClass: (Class)class_ - sourcePath: (OFString*)sourcePath - destinationPath: (OFString*)destinationPath; ++ (instancetype)exceptionWithSourcePath: (OFString*)sourcePath + destinationPath: (OFString*)destinationPath; /*! * @brief Initializes an already allocated copy file failed exception. * - * @param class_ The class of the object which caused the exception * @param sourcePath The original path * @param destinationPath The new path * @return An initialized copy file failed exception */ -- initWithClass: (Class)class_ - sourcePath: (OFString*)sourcePath - destinationPath: (OFString*)destinationPath; - -/*! - * @brief Returns the errno from when the exception was created. - * - * @return The errno from when the exception was created - */ -- (int)errNo; +- initWithSourcePath: (OFString*)sourcePath + destinationPath: (OFString*)destinationPath; /*! * @brief Returns the path of the source file. * * @return The path of the source file @@ -73,6 +62,13 @@ * @brief Returns the destination path. * * @return The destination path */ - (OFString*)destinationPath; + +/*! + * @brief Returns the errno from when the exception was created. + * + * @return The errno from when the exception was created + */ +- (int)errNo; @end