@@ -36,13 +36,13 @@ * \param class_ The class of the object which caused the exception * \param source The original path * \param destination The new path * \return A new rename file failed exception */ -+ exceptionWithClass: (Class)class_ - sourcePath: (OFString*)source - destinationPath: (OFString*)destination; ++ (instancetype)exceptionWithClass: (Class)class_ + sourcePath: (OFString*)source + destinationPath: (OFString*)destination; /** * Initializes an already allocated rename failed exception. * * \param class_ The class of the object which caused the exception