@@ -36,31 +36,27 @@ #endif /*! * @brief Creates a new, autoreleased read or write failed exception. * - * @param class_ The class of the object which caused the exception * @param stream The stream which caused the read or write failed exception * @param requestedLength The requested length of the data that couldn't be * read / written * @return A new, autoreleased read or write failed exception */ -+ (instancetype)exceptionWithClass: (Class)class_ - stream: (OFStream*)stream - requestedLength: (size_t)requestedLength; ++ (instancetype)exceptionWithStream: (OFStream*)stream + requestedLength: (size_t)requestedLength; /*! * @brief Initializes an already allocated read or write failed exception. * - * @param class_ The class of the object which caused the exception * @param stream The stream which caused the read or write failed exception * @param requestedLength The requested length of the data that couldn't be * read / written * @return A new open file failed exception */ -- initWithClass: (Class)class_ - stream: (OFStream*)stream +- initWithStream: (OFStream*)stream requestedLength: (size_t)requestedLength; /*! * @brief Returns the stream which caused the read or write failed exception. *