Don't access isa directly.
This commit is contained in:
parent
867450105e
commit
f590ff46fe
10 changed files with 43 additions and 40 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue