@@ -26,14 +26,19 @@ { OFString *_string; size_t _line; } -#ifdef OF_HAVE_PROPERTIES +/*! + * The string containing the invalid JSON representation. + */ @property (readonly, copy) OFString *string; + +/*! + * The line in which parsing the JSON representation failed. + */ @property (readonly) size_t line; -#endif /*! * @brief Creates a new, autoreleased invalid JSON exception. * * @param string The string containing the invalid JSON representation @@ -50,20 +55,6 @@ * @param line The line in which the parsing error encountered * @return An initialized invalid JSON exception */ - initWithString: (OFString*)string line: (size_t)line; - -/*! - * @brief Returns the string containing the invalid JSON representation. - * - * @return The string containing the invalid JSON representation - */ -- (OFString*)string; - -/*! - * @brief Returns the line in which parsing the JSON representation failed. - * - * @return The line in which parsing the JSON representation failed - */ -- (size_t)line; @end