Overview
Context
Changes
Modified src/exceptions/OFCopyFileFailedException.h
from [fa1e2c9494]
to [c92e579477].
︙ | | |
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
|
@property (readonly, nonatomic) OFString *sourcePath;
@property (readonly, nonatomic) OFString *destinationPath;
@property (readonly) int errNo;
#endif
/**
* \param class_ The class of the object which caused the exception
* \param src The original path
* \param dst The new path
* \param source The original path
* \param destination The new path
* \return A new copy file failed exception
*/
+ exceptionWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dst;
sourcePath: (OFString*)source
destinationPath: (OFString*)destination;
/**
* Initializes an already allocated copy file failed exception.
*
* \param class_ The class of the object which caused the exception
* \param src The original path
* \param dst The new path
* \param source The original path
* \param destination The new path
* \return An initialized copy file failed exception
*/
- initWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dst;
sourcePath: (OFString*)source
destinationPath: (OFString*)destination;
/**
* \return The errno from when the exception was created
*/
- (int)errNo;
/**
|
︙ | | |
Modified src/exceptions/OFCopyFileFailedException.m
from [2addac6352]
to [ea25f448eb].
︙ | | |
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
50
51
52
53
54
55
56
57
58
59
|
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
50
51
52
53
54
55
56
57
58
59
|
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
|
#import "OFNotImplementedException.h"
#import "common.h"
@implementation OFCopyFileFailedException
+ exceptionWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dst
sourcePath: (OFString*)source
destinationPath: (OFString*)destination
{
return [[[self alloc] initWithClass: class_
sourcePath: src
destinationPath: dst] autorelease];
sourcePath: source
destinationPath: destination] autorelease];
}
- initWithClass: (Class)class_
{
Class c = isa;
[self release];
@throw [OFNotImplementedException exceptionWithClass: c
selector: _cmd];
}
- initWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dst
sourcePath: (OFString*)source
destinationPath: (OFString*)destination
{
self = [super initWithClass: class_];
@try {
sourcePath = [src copy];
destinationPath = [dst copy];
sourcePath = [source copy];
destinationPath = [destination copy];
errNo = GET_ERRNO;
} @catch (id e) {
[self release];
@throw e;
}
return self;
|
︙ | | |
Modified src/exceptions/OFLinkFailedException.h
from [f052f72241]
to [584fc37733].
︙ | | |
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
|
@property (readonly, nonatomic) OFString *sourcePath;
@property (readonly, nonatomic) OFString *destinationPath;
@property (readonly) int errNo;
# endif
/**
* \param class_ The class of the object which caused the exception
* \param src The source for the link
* \param dest The destination for the link
* \param source The source for the link
* \param destination The destination for the link
* \return A new link failed exception
*/
+ exceptionWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dest;
sourcePath: (OFString*)source
destinationPath: (OFString*)destination;
/**
* Initializes an already allocated link failed exception.
*
* \param class_ The class of the object which caused the exception
* \param src The source for the link
* \param dest The destination for the link
* \param source The source for the link
* \param destination The destination for the link
* \return An initialized link failed exception
*/
- initWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dest;
sourcePath: (OFString*)source
destinationPath: (OFString*)destination;
/**
* \return The errno from when the exception was created
*/
- (int)errNo;
/**
|
︙ | | |
Modified src/exceptions/OFLinkFailedException.m
from [7c17f7da79]
to [9d20d8d748].
︙ | | |
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
50
51
52
53
54
55
56
57
58
59
60
|
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
50
51
52
53
54
55
56
57
58
59
60
|
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
|
#import "OFNotImplementedException.h"
#import "common.h"
#ifndef _WIN32
@implementation OFLinkFailedException
+ exceptionWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dest
sourcePath: (OFString*)source
destinationPath: (OFString*)destination
{
return [[[self alloc] initWithClass: class_
sourcePath: src
destinationPath: dest] autorelease];
sourcePath: source
destinationPath: destination] autorelease];
}
- initWithClass: (Class)class_
{
Class c = isa;
[self release];
@throw [OFNotImplementedException exceptionWithClass: c
selector: _cmd];
}
- initWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dest
sourcePath: (OFString*)source
destinationPath: (OFString*)destination
{
self = [super initWithClass: class_];
@try {
sourcePath = [src copy];
destinationPath = [dest copy];
sourcePath = [source copy];
destinationPath = [destination copy];
errNo = GET_ERRNO;
} @catch (id e) {
[self release];
@throw e;
}
return self;
|
︙ | | |
Modified src/exceptions/OFRenameFileFailedException.h
from [8dbed0a8a7]
to [841f64f8f7].
︙ | | |
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
|
@property (readonly, nonatomic) OFString *sourcePath;
@property (readonly, nonatomic) OFString *destinationPath;
@property (readonly) int errNo;
#endif
/**
* \param class_ The class of the object which caused the exception
* \param src The original path
* \param dst The new path
* \param source The original path
* \param destination The new path
* \return A new rename file failed exception
*/
+ exceptionWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dst;
sourcePath: (OFString*)source
destinationPath: (OFString*)destination;
/**
* Initializes an already allocated rename failed exception.
*
* \param class_ The class of the object which caused the exception
* \param src The original path
* \param dst The new path
* \param source The original path
* \param destination The new path
* \return An initialized rename file failed exception
*/
- initWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dst;
sourcePath: (OFString*)source
destinationPath: (OFString*)destination;
/**
* \return The errno from when the exception was created
*/
- (int)errNo;
/**
|
︙ | | |
Modified src/exceptions/OFRenameFileFailedException.m
from [2eaacacabd]
to [a9d15bac5e].
︙ | | |
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
50
51
52
53
54
55
56
57
58
59
|
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
50
51
52
53
54
55
56
57
58
59
|
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
|
#import "OFNotImplementedException.h"
#import "common.h"
@implementation OFRenameFileFailedException
+ exceptionWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dst
sourcePath: (OFString*)source
destinationPath: (OFString*)destination
{
return [[[self alloc] initWithClass: class_
sourcePath: src
destinationPath: dst] autorelease];
sourcePath: source
destinationPath: destination] autorelease];
}
- initWithClass: (Class)class_
{
Class c = isa;
[self release];
@throw [OFNotImplementedException exceptionWithClass: c
selector: _cmd];
}
- initWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dst
sourcePath: (OFString*)source
destinationPath: (OFString*)destination
{
self = [super initWithClass: class_];
@try {
sourcePath = [src copy];
destinationPath = [dst copy];
sourcePath = [source copy];
destinationPath = [destination copy];
errNo = GET_ERRNO;
} @catch (id e) {
[self release];
@throw e;
}
return self;
|
︙ | | |
Modified src/exceptions/OFSymlinkFailedException.h
from [5db48bede9]
to [9f25a70feb].
︙ | | |
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
|
@property (readonly, nonatomic) OFString *sourcePath;
@property (readonly, nonatomic) OFString *destinationPath;
@property (readonly) int errNo;
#endif
/**
* \param class_ The class of the object which caused the exception
* \param src The source for the symlink
* \param dest The destination for the symlink
* \param source The source for the symlink
* \param destination The destination for the symlink
* \return A new symlink failed exception
*/
+ exceptionWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dest;
sourcePath: (OFString*)source
destinationPath: (OFString*)destination;
/**
* Initializes an already allocated symlink failed exception.
*
* \param class_ The class of the object which caused the exception
* \param src The source for the symlink
* \param dest The destination for the symlink
* \param source The source for the symlink
* \param destination The destination for the symlink
* \return An initialized symlink failed exception
*/
- initWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dest;
sourcePath: (OFString*)source
destinationPath: (OFString*)destination;
/**
* \return The errno from when the exception was created
*/
- (int)errNo;
/**
|
︙ | | |
Modified src/exceptions/OFSymlinkFailedException.m
from [82ef49d575]
to [b700addde1].
︙ | | |
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
50
51
52
53
54
55
56
57
58
59
60
|
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
50
51
52
53
54
55
56
57
58
59
60
|
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
|
#import "OFNotImplementedException.h"
#import "common.h"
#ifndef _WIN32
@implementation OFSymlinkFailedException
+ exceptionWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dest
sourcePath: (OFString*)source
destinationPath: (OFString*)destination
{
return [[[self alloc] initWithClass: class_
sourcePath: src
destinationPath: dest] autorelease];
sourcePath: source
destinationPath: destination] autorelease];
}
- initWithClass: (Class)class_
{
Class c = isa;
[self release];
@throw [OFNotImplementedException exceptionWithClass: c
selector: _cmd];
}
- initWithClass: (Class)class_
sourcePath: (OFString*)src
destinationPath: (OFString*)dest
sourcePath: (OFString*)source
destinationPath: (OFString*)destination
{
self = [super initWithClass: class_];
@try {
sourcePath = [src copy];
destinationPath = [dest copy];
sourcePath = [source copy];
destinationPath = [destination copy];
errNo = GET_ERRNO;
} @catch (id e) {
[self release];
@throw e;
}
return self;
|
︙ | | |