@@ -663,11 +663,11 @@ object = nextObject(&pointer, stop, &line, 0, depthLimit); skipWhitespacesAndComments(&pointer, stop, &line); if (pointer < stop || object == nil) - @throw [OFInvalidJSONException exceptionWithClass: [self class] - line: line]; + @throw [OFInvalidJSONException exceptionWithString: self + line: line]; return object; } @end