ObjFW  Diff

Differences From Artifact [b9324ee29d]:

To Artifact [2981c6b837]:


27
28
29
30
31
32
33



34
35

36
37
38
39
40
41

42

43
44
45
46
47
48
49


50
51
52
53
27
28
29
30
31
32
33
34
35
36
37

38
39
40
41
42
43

44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59







+
+
+

-
+





-
+

+







+
+




}

#ifdef OF_HAVE_PROPERTIES
@property (readonly, retain, nonatomic) OFXMLParser *parser;
#endif

/*!
 * @brief Creates a new, autoreleased malformed XML exception.
 *
 * @param class_ The class of the object which caused the exception
 * @param parser The parser which encountered malformed XML
 * @return A new malformed XML exception
 * @return A new, autoreleased malformed XML exception
 */
+ (instancetype)exceptionWithClass: (Class)class_
			    parser: (OFXMLParser*)parser;

/*!
 * Initializes an already allocated malformed XML exception.
 * @brief Initializes an already allocated malformed XML exception.
 *
 * @param class_ The class of the object which caused the exception
 * @param parser The parser which encountered malformed XML
 * @return An initialized malformed XML exception
 */
- initWithClass: (Class)class_
	 parser: (OFXMLParser*)parser;

/*!
 * @brief Returns the parser which encountered malformed XML.
 *
 * @return The parser which encountered malformed XML
 */
- (OFXMLParser*)parser;
@end