43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
type: type_
ID: ID_];
@try {
if (![type_ isEqual: @"get"] && ![type_ isEqual: @"set"] &&
![type_ isEqual: @"result"] && ![type_ isEqual: @"error"])
@throw [OFInvalidArgumentException
exceptionWithClass: isa
selector: _cmd];
} @catch (id e) {
[self release];
@throw e;
}
return self;
|
|
|
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
type: type_
ID: ID_];
@try {
if (![type_ isEqual: @"get"] && ![type_ isEqual: @"set"] &&
![type_ isEqual: @"result"] && ![type_ isEqual: @"error"])
@throw [OFInvalidArgumentException
exceptionWithClass: [self class]
selector: _cmd];
} @catch (id e) {
[self release];
@throw e;
}
return self;
|