ObjFW  Diff

Differences From Artifact [afc4e720c1]:

To Artifact [1d08e6da53]:


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
}

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

/**



 * \param parser The parser which encountered malformed XML
 * \return A new malformed XML exception
 */
+ (instancetype)exceptionWithClass: (Class)class_
			    parser: (OFXMLParser*)parser;

/**
 * Initializes an already allocated malformed XML exception.
 *

 * \param parser The parser which encountered malformed XML
 * \return An initialized malformed XML exception
 */
- initWithClass: (Class)class_
	 parser: (OFXMLParser*)parser;

/**


 * \return The parser which encountered malformed XML
 */
- (OFXMLParser*)parser;
@end







>
>
>

|





|

>







>
>




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, autoreleased malformed XML exception
 */
+ (instancetype)exceptionWithClass: (Class)class_
			    parser: (OFXMLParser*)parser;

/**
 * \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