ObjFW  Diff

Differences From Artifact [eb09d95cbe]:

To Artifact [c79ce35a3f]:


20
21
22
23
24
25
26
27
28
29



30
31

32
33
34

35
36
37
38
39
40
41
42


43
44
45
46
47
48
49
20
21
22
23
24
25
26



27
28
29
30

31
32
33

34
35
36
37
38
39
40


41
42
43
44
45
46
47
48
49







-
-
-
+
+
+

-
+


-
+






-
-
+
+







#import "OFString.h"

#import "OFNotImplementedException.h"

#import "common.h"

@implementation OFChangeFileModeFailedException
+ newWithClass: (Class)class_
	  path: (OFString*)path
	  mode: (mode_t)mode
+ exceptionWithClass: (Class)class_
		path: (OFString*)path
		mode: (mode_t)mode
{
	return [(OFChangeFileModeFailedException*)[self alloc]
	return [(OFChangeFileModeFailedException*)[[self alloc]
	    initWithClass: class_
		     path: path
		     mode: mode];
		     mode: mode] autorelease];
}

- initWithClass: (Class)class_
{
	Class c = isa;
	[self release];
	@throw [OFNotImplementedException newWithClass: c
					      selector: _cmd];
	@throw [OFNotImplementedException exceptionWithClass: c
						    selector: _cmd];
}

- initWithClass: (Class)class_
	   path: (OFString*)path_
	   mode: (mode_t)mode_
{
	self = [super initWithClass: class_];