Adjust to reworked exception API.

This commit is contained in:
Jonathan Schleifer 2013-06-23 16:17:39 +02:00
parent bfdfabcf40
commit 7f5c58ffc7
14 changed files with 224 additions and 270 deletions

View file

@ -32,12 +32,12 @@
- (void)parser: (OFXMLParser*)parser
foundProcessingInstructions: (OFString*)pi
{
@throw [OFMalformedXMLException exceptionWithClass: [self class]];
@throw [OFMalformedXMLException exception];
}
- (void)parser: (OFXMLParser*)parser
foundComment: (OFString*)comment
{
@throw [OFMalformedXMLException exceptionWithClass: [self class]];
@throw [OFMalformedXMLException exception];
}
@end