@@ -31,12 +31,12 @@ /** * \param class_ The class of the object which caused the exception * \param line The line in which the parsing error encountered * \return A new invalid JSON exception */ -+ exceptionWithClass: (Class)class_ - line: (size_t)line; ++ (instancetype)exceptionWithClass: (Class)class_ + line: (size_t)line; /** * Initializes an already allocated invalid JSON exception. * * \param class_ The class of the object which caused the exception