ObjFW  Diff

Differences From Artifact [51f87ea44e]:

To Artifact [738d87a948]:


25
26
27
28
29
30
31
32

33
34
35
36
37
38
39
+ (instancetype)exceptionWithCondition: (OFCondition *)condition
{
	return [[[self alloc] initWithCondition: condition] autorelease];
}

- (instancetype)init
{
	return [self initWithCondition: nil];

}

- (instancetype)initWithCondition: (OFCondition *)condition
{
	self = [super init];

	_condition = [condition retain];







<
>







25
26
27
28
29
30
31

32
33
34
35
36
37
38
39
+ (instancetype)exceptionWithCondition: (OFCondition *)condition
{
	return [[[self alloc] initWithCondition: condition] autorelease];
}

- (instancetype)init
{

	OF_INVALID_INIT_METHOD
}

- (instancetype)initWithCondition: (OFCondition *)condition
{
	self = [super init];

	_condition = [condition retain];