@@ -138,11 +138,11 @@ tmp = parse_numeric_entity(entity, entityLength); if (tmp == nil) @throw [OFInvalidEncodingException - newWithClass: isa]; + exceptionWithClass: isa]; [ret appendString: tmp]; [pool release]; } else if (delegate != nil) { OFAutoreleasePool *pool; @@ -156,25 +156,25 @@ tmp = [delegate string: self containsUnknownEntityNamed: n]; if (tmp == nil) @throw [OFInvalidEncodingException - newWithClass: isa]; + exceptionWithClass: isa]; [ret appendString: tmp]; [pool release]; } else @throw [OFInvalidEncodingException - newWithClass: isa]; + exceptionWithClass: isa]; last = i + 1; inEntity = NO; } } if (inEntity) - @throw [OFInvalidEncodingException newWithClass: isa]; + @throw [OFInvalidEncodingException exceptionWithClass: isa]; [ret appendUTF8String: string + last withLength: i - last]; [ret makeImmutable]; @@ -240,11 +240,11 @@ tmp = parse_numeric_entity(entity, entityLength); if (tmp == nil) @throw [OFInvalidEncodingException - newWithClass: isa]; + exceptionWithClass: isa]; [ret appendString: tmp]; [pool release]; } else { OFAutoreleasePool *pool; @@ -257,11 +257,11 @@ length: entityLength]; tmp = block(self, entityString); if (tmp == nil) @throw [OFInvalidEncodingException - newWithClass: isa]; + exceptionWithClass: isa]; [ret appendString: tmp]; [pool release]; } @@ -269,11 +269,11 @@ inEntity = NO; } } if (inEntity) - @throw [OFInvalidEncodingException newWithClass: isa]; + @throw [OFInvalidEncodingException exceptionWithClass: isa]; [ret appendUTF8String: string + last withLength: i - last]; [ret makeImmutable];