ObjXMPP  Diff

Differences From Artifact [56a714ea1b]:

To Artifact [08cee60ca1]:


42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
	self = [super initWithName: @"iq"
			      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;
}







|
<
<







42
43
44
45
46
47
48
49


50
51
52
53
54
55
56
	self = [super initWithName: @"iq"
			      type: type
				ID: ID];

	@try {
		if (![type isEqual: @"get"] && ![type isEqual: @"set"] &&
		    ![type isEqual: @"result"] && ![type isEqual: @"error"])
			@throw [OFInvalidArgumentException exception];


	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}