@@ -33,12 +33,12 @@ /** * \param class_ The class of the object which caused the exception * \param path The path of the directory * \return A new delete directory failed exception */ -+ exceptionWithClass: (Class)class_ - path: (OFString*)path; ++ (instancetype)exceptionWithClass: (Class)class_ + path: (OFString*)path; /** * Initializes an already allocated delete directory failed exception. * * \param class_ The class of the object which caused the exception