26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
-
+
|
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
+ (instancetype)exceptionWithSourceURL: (OFURL *)sourceURL
destinationURL: (OFURL *)destinationURL
errNo: (int)errNo
errNo: (int)errNo
{
return [[[self alloc] initWithSourceURL: sourceURL
destinationURL: destinationURL
errNo: errNo] autorelease];
}
- (instancetype)init
|
68
69
70
71
72
73
74
75
76
77
|
68
69
70
71
72
73
74
75
76
77
|
-
+
|
[super dealloc];
}
- (OFString *)description
{
return [OFString stringWithFormat:
@"Failed to move item at %@ to %@: %@",
_sourceURL, _destinationURL, of_strerror(_errNo)];
_sourceURL, _destinationURL, OFStrError(_errNo)];
}
@end
|