Adjust to reworked exception API.
This commit is contained in:
parent
bfdfabcf40
commit
7f5c58ffc7
14 changed files with 224 additions and 270 deletions
|
@ -46,9 +46,7 @@
|
|||
@try {
|
||||
if (![type isEqual: @"get"] && ![type isEqual: @"set"] &&
|
||||
![type isEqual: @"result"] && ![type isEqual: @"error"])
|
||||
@throw [OFInvalidArgumentException
|
||||
exceptionWithClass: [self class]
|
||||
selector: _cmd];
|
||||
@throw [OFInvalidArgumentException exception];
|
||||
} @catch (id e) {
|
||||
[self release];
|
||||
@throw e;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue