@@ -40,13 +40,13 @@ * \param stream The stream which caused the read or write failed exception * \param length The requested length of the data that couldn't be read / * written * \return A new open file failed exception */ -+ newWithClass: (Class)class_ - stream: (OFStream*)stream - requestedLength: (size_t)length; ++ exceptionWithClass: (Class)class_ + stream: (OFStream*)stream + requestedLength: (size_t)length; /** * Initializes an already allocated read or write failed exception. * * \param class_ The class of the object which caused the exception