Differences From Artifact [28abef2a60]:
- File
src/exceptions/OFInvalidJSONException.h
— part of check-in
[72c71c4eb2]
at
2012-06-10 16:07:33
on branch trunk
— JSON: Make it possible to get the invalid line.
This introduces OFInvalidJSONException, which has a property line to get
the line in which the parsing error occurred. (user: js, size: 1430) [annotate] [blame] [check-ins using] [more...]
To Artifact [dd69569b81]:
- File src/exceptions/OFInvalidJSONException.h — part of check-in [fb515e8e24] at 2012-10-09 15:07:30 on branch trunk — Make use of instancetype. (user: js, size: 1451) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
29 30 31 32 33 34 35 | #endif /** * \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 */ | | | | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #endif /** * \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 */ + (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 * \param line The line in which the parsing error encountered * \return An initialized invalid JSON exception |
︙ | ︙ |