Don't access isa directly.

This commit is contained in:
Jonathan Schleifer 2012-07-12 05:34:20 +02:00
parent 867450105e
commit f590ff46fe
10 changed files with 43 additions and 40 deletions

View file

@ -47,7 +47,7 @@
if (![type_ isEqual: @"get"] && ![type_ isEqual: @"set"] &&
![type_ isEqual: @"result"] && ![type_ isEqual: @"error"])
@throw [OFInvalidArgumentException
exceptionWithClass: isa
exceptionWithClass: [self class]
selector: _cmd];
} @catch (id e) {
[self release];