Overview
Context
Changes
Modified src/exceptions/OFBindFailedException.h
from [b9744b8563]
to [5fb5dee342].
︙ | | |
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
-
-
+
+
|
@property (readonly, nonatomic) id socket;
/**
* @brief The errno of the error that occurred.
*/
@property (readonly, nonatomic) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased bind failed exception.
*
* @param host The host on which binding failed
* @param port The port on which binding failed
* @param socket The socket which could not be bound
* @param errNo The errno of the error that occurred
* @return A new, autoreleased bind failed exception
*/
+ (instancetype)exceptionWithHost: (OFString *)host
port: (uint16_t)port
socket: (id)socket
errNo: (int)errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased bind failed exception.
*
* @param port The IPX port to which binding failed
* @param packetType The IPX packet type for which binding failed
* @param socket The socket which could not be bound
|
︙ | | |
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
-
-
|
* @param errNo The errno of the error that occurred
* @return A new, autoreleased bind failed exception
*/
+ (instancetype)exceptionWithPath: (OFString *)path
socket: (id)socket
errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated bind failed exception.
*
* @param host The host on which binding failed
* @param port The port on which binding failed
* @param socket The socket which could not be bound
* @param errNo The errno of the error that occurred
|
︙ | | |
150
151
152
153
154
155
156
157
158
159
|
148
149
150
151
152
153
154
155
156
157
158
159
|
+
+
|
* @param socket The socket which could not be bound
* @param errNo The errno of the error that occurred
* @return An initialized bind failed exception
*/
- (instancetype)initWithPath: (OFString *)path
socket: (id)socket
errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFCopyItemFailedException.h
from [688510c190]
to [c7d2df7892].
︙ | | |
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
-
-
-
+
+
+
|
@property (readonly, nonatomic) OFURL *destinationURL;
/**
* @brief The errno of the error that occurred.
*/
@property (readonly, nonatomic) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased copy item failed exception.
*
* @param sourceURL The original path
* @param destinationURL The new path
* @param errNo The errno of the error that occurred
* @return A new, autoreleased copy item failed exception
*/
+ (instancetype)exceptionWithSourceURL: (OFURL *)sourceURL
destinationURL: (OFURL *)destinationURL
errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated copy item failed exception.
*
* @param sourceURL The original path
* @param destinationURL The new path
* @param errNo The errno of the error that occurred
* @return An initialized copy item failed exception
*/
- (instancetype)initWithSourceURL: (OFURL *)sourceURL
destinationURL: (OFURL *)destinationURL
errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFCreateDirectoryFailedException.h
from [181da1d1b3]
to [9fb2f6c383].
︙ | | |
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
64
65
66
67
68
69
|
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
64
65
66
67
68
69
|
-
-
-
+
+
+
|
@property (readonly, nonatomic) OFURL *URL;
/**
* @brief The errno of the error that occurred.
*/
@property (readonly, nonatomic) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased create directory failed exception.
*
* @param URL The URL of the directory which could not be created
* @param errNo The errno of the error that occurred
* @return A new, autoreleased create directory failed exception
*/
+ (instancetype)exceptionWithURL: (OFURL *)URL errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated create directory failed exception.
*
* @param URL The URL of the directory which could not be created
* @param errNo The errno of the error that occurred
* @return An initialized create directory failed exception
*/
- (instancetype)initWithURL: (OFURL *)URL
errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFCreateSymbolicLinkFailedException.h
from [4a1beb3f78]
to [3600a35794].
︙ | | |
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
-
-
-
+
+
+
|
@property (readonly, nonatomic) OFString *target;
/**
* @brief The errno of the error that occurred.
*/
@property (readonly, nonatomic) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased create symbolic link failed exception.
*
* @param URL The URL where the symlink should have been created
* @param target The target for the symbolic link
* @param errNo The errno of the error that occurred
* @return A new, autoreleased create symbolic link failed exception
*/
+ (instancetype)exceptionWithURL: (OFURL *)URL
target: (OFString *)target
errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated create symbolic link failed
* exception.
*
* @param URL The URL where the symlink should have been created
* @param target The target for the symbolic link
* @param errNo The errno of the error that occurred
* @return An initialized create symbolic link failed exception
*/
- (instancetype)initWithURL: (OFURL *)URL
target: (OFString *)target
errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFEnumerationMutationException.h
from [3a61865e6c]
to [2ab98f2cf4].
︙ | | |
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
|
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
|
-
-
-
+
+
+
|
}
/**
* @brief The object which was mutated during enumeration.
*/
@property (readonly, nonatomic) id object;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased enumeration mutation exception.
*
* @param object The object which was mutated during enumeration
* @return A new, autoreleased enumeration mutation exception
*/
+ (instancetype)exceptionWithObject: (id)object;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated enumeration mutation exception.
*
* @param object The object which was mutated during enumeration
* @return An initialized enumeration mutation exception
*/
- (instancetype)initWithObject: (id)object OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFGetCurrentDirectoryPathFailedException.h
from [742413e56f]
to [8e5eb876c7].
︙ | | |
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
|
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
|
-
-
-
+
+
+
|
}
/**
* @brief The errno of the error that occurred.
*/
@property (readonly, nonatomic) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased get current directory path failed
* exception.
*
* @param errNo The errno of the error that occurred
* @return A new, autoreleased get current directory failed exception
*/
+ (instancetype)exceptionWithErrNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated get current directory path failed
* exception.
*
* @param errNo The errno of the error that occurred
* @return An initialized get current directory path failed exception
*/
- (instancetype)initWithErrNo: (int)errNo OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFGetOptionFailedException.h
from [3a9cb36035]
to [07bdd97238].
︙ | | |
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
64
65
66
|
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
64
65
66
|
-
-
-
+
+
+
|
@property (readonly, nonatomic) id object;
/**
* @brief The errno of the error that occurred.
*/
@property (readonly, nonatomic) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased get option failed exception.
*
* @param object The object for which the option could not be retrieved
* @param errNo The errno of the error that occurred
* @return A new, autoreleased get option failed exception
*/
+ (instancetype)exceptionWithObject: (id)object errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated get option failed exception.
*
* @param object The object for which the option could not be retrieved
* @param errNo The errno of the error that occurred
* @return An initialized get option failed exception
*/
- (instancetype)initWithObject: (id)object
errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFHashAlreadyCalculatedException.h
from [f4d411e365]
to [9fce34d334].
︙ | | |
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
|
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
|
-
-
-
+
+
+
|
}
/**
* @brief The hash which has already been calculated.
*/
@property (readonly, nonatomic) id object;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased hash already calculated exception.
*
* @param object The hash which has already been calculated
* @return A new, autoreleased hash already calculated exception
*/
+ (instancetype)exceptionWithObject: (id)object;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated hash already calculated exception.
*
* @param object The hash which has already been calculated
* @return An initialized hash already calculated exception
*/
- (instancetype)initWithObject: (id)object OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFHashNotCalculatedException.h
from [83488903fa]
to [768ce1b6b5].
︙ | | |
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
|
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
|
-
-
-
+
+
+
|
}
/**
* @brief The hash which has not been calculated yet.
*/
@property (readonly, nonatomic) id object;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased hash not calculated exception.
*
* @param object The hash which has not been calculated yet
* @return A new, autoreleased hash not calculated exception
*/
+ (instancetype)exceptionWithObject: (id)object;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated hash not calculated exception.
*
* @param object The hash which has not been calculated yet
* @return An initialized hash not calculated exception
*/
- (instancetype)initWithObject: (id)object OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFInvalidJSONException.h
from [936e9013a0]
to [9ac94f6e36].
︙ | | |
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
64
65
66
67
|
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
64
65
66
67
|
-
-
-
+
+
+
|
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *string;
/**
* @brief The line in which parsing the JSON representation failed.
*/
@property (readonly, nonatomic) size_t line;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased invalid JSON exception.
*
* @param string The string containing the invalid JSON representation
* @param line The line in which the parsing error was encountered
* @return A new, autoreleased invalid JSON exception
*/
+ (instancetype)exceptionWithString: (nullable OFString *)string
line: (size_t)line;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated invalid JSON exception.
*
* @param string The string containing the invalid JSON representation
* @param line The line in which the parsing error was encountered
* @return An initialized invalid JSON exception
*/
- (instancetype)initWithString: (nullable OFString *)string
line: (size_t)line OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFLinkFailedException.h
from [a8550fc627]
to [099d3c2419].
︙ | | |
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
-
-
-
+
+
+
|
@property (readonly, nonatomic) OFURL *destinationURL;
/**
* @brief The errno of the error that occurred.
*/
@property (readonly, nonatomic) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased link failed exception.
*
* @param sourceURL The source for the link
* @param destinationURL The destination for the link
* @param errNo The errno of the error that occurred
* @return A new, autoreleased link failed exception
*/
+ (instancetype)exceptionWithSourceURL: (OFURL *)sourceURL
destinationURL: (OFURL *)destinationURL
errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated link failed exception.
*
* @param sourceURL The source for the link
* @param destinationURL The destination for the link
* @param errNo The errno of the error that occurred
* @return An initialized link failed exception
*/
- (instancetype)initWithSourceURL: (OFURL*)sourceURL
destinationURL: (OFURL *)destinationURL
errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFListenFailedException.h
from [08d597b7f2]
to [32d4375802].
︙ | | |
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
-
-
-
+
+
+
|
@property (readonly, nonatomic) int backlog;
/**
* @brief The errno of the error that occurred.
*/
@property (readonly, nonatomic) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased listen failed exception.
*
* @param socket The socket which failed to listen
* @param backlog The requested size of the back log
* @param errNo The errno of the error that occurred
* @return A new, autoreleased listen failed exception
*/
+ (instancetype)exceptionWithSocket: (id)socket
backlog: (int)backlog
errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated listen failed exception.
*
* @param socket The socket which failed to listen
* @param backlog The requested size of the back log
* @param errNo The errno of the error that occurred
* @return An initialized listen failed exception
*/
- (instancetype)initWithSocket: (id)socket
backlog: (int)backlog
errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFLockFailedException.h
from [390a803abf]
to [ea013b6003].
︙ | | |
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
+
+
|
*
* @param lock The lock which could not be locked
* @param errNo The errno of the error that occurred
* @return A new, autoreleased lock failed exception
*/
+ (instancetype)exceptionWithLock: (nullable id <OFLocking>)lock
errNo: (int)errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated lock failed exception.
*
* @param lock The lock which could not be locked
* @param errNo The errno of the error that occurred
* @return An initialized lock failed exception
|
︙ | | |
Modified src/exceptions/OFLockFailedException.m
from [c19f1ae74a]
to [a5b72beb2e].
︙ | | |
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
+
+
+
+
+
|
@implementation OFLockFailedException
@synthesize lock = _lock, errNo = _errNo;
+ (instancetype)exceptionWithLock: (id <OFLocking>)lock errNo: (int)errNo
{
return [[[self alloc] initWithLock: lock errNo: errNo] autorelease];
}
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
- (instancetype)initWithLock: (id <OFLocking>)lock errNo: (int)errNo
{
self = [super init];
_lock = [lock retain];
_errNo = errNo;
|
︙ | | |
Modified src/exceptions/OFNotImplementedException.h
from [c702b7e9be]
to [891dc14bbc].
︙ | | |
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
64
65
66
67
68
|
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
64
65
66
67
68
|
-
+
-
-
-
+
+
+
|
* @brief The selector which is not or not fully implemented.
*/
@property (readonly, nonatomic) SEL selector;
/**
* @brief The object which does not (fully) implement the selector.
*/
@property (readonly, nonatomic) id object;
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) id object;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased not implemented exception.
*
* @param selector The selector which is not or not fully implemented
* @param object The object which does not (fully) implement the selector
* @return A new, autoreleased not implemented exception
*/
+ (instancetype)exceptionWithSelector: (SEL)selector
object: (nullable id)object;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated not implemented exception.
*
* @param selector The selector which is not or not fully implemented
* @param object The object which does not (fully) implement the selector
* @return An initialized not implemented exception
*/
- (instancetype)initWithSelector: (SEL)selector
object: (nullable id)object OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|