Overview
Context
Changes
Modified src/exceptions/OFObserveFailedException.h
from [7940ecc296]
to [6c7bf7885c].
︙ | | |
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
69
|
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
69
|
-
-
-
+
+
+
|
@property (readonly, nonatomic) OFKernelEventObserver *observer;
/**
* @brief The errno of the error that occurred.
*/
@property (readonly, nonatomic) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased observe failed exception.
*
* @param observer The observer which failed to observe
* @param errNo The errno of the error that occurred
* @return A new, autoreleased observe failed exception
*/
+ (instancetype)exceptionWithObserver: (OFKernelEventObserver *)observer
errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated observe failed exception.
*
* @param observer The observer which failed to observe
* @param errNo The errno of the error that occurred
* @return An initialized observe failed exception
*/
- (instancetype)initWithObserver: (OFKernelEventObserver *)observer
errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFOpenItemFailedException.h
from [18b9adfbf8]
to [f84d68c6f2].
︙ | | |
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
82
83
84
85
86
87
88
89
90
|
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
82
83
84
85
86
87
88
|
-
-
+
+
-
-
|
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *mode;
/**
* @brief The errno of the error that occurred.
*/
@property (readonly, nonatomic) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased open item failed exception.
*
* @param URL The URL of the item which could not be opened
* @param mode A string with the mode in which the item should have been opened
* @param errNo The errno of the error that occurred
* @return A new, autoreleased open item failed exception
*/
+ (instancetype)exceptionWithURL: (OFURL *)URL
mode: (nullable OFString *)mode
errNo: (int)errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased open item failed exception.
*
* @param path The path of the item which could not be opened
* @param mode A string with the mode in which the item should have been opened
* @param errNo The errno of the error that occurred
* @return A new, autoreleased open item failed exception
*/
+ (instancetype)exceptionWithPath: (OFString *)path
mode: (nullable OFString *)mode
errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated open item failed exception.
*
* @param URL The URL of the item which could not be opened
* @param mode A string with the mode in which the item should have been opened
* @param errNo The errno of the error that occurred
* @return An initialized open item failed exception
|
︙ | | |
100
101
102
103
104
105
106
107
108
109
|
98
99
100
101
102
103
104
105
106
107
108
109
|
+
+
|
* @param mode A string with the mode in which the item should have been opened
* @param errNo The errno of the error that occurred
* @return An initialized open item failed exception
*/
- (instancetype)initWithPath: (OFString *)path
mode: (nullable OFString *)mode
errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFUnboundNamespaceException.h
from [abee82b29b]
to [cc4424a80d].
︙ | | |
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
70
71
72
73
74
|
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
70
71
72
73
74
|
-
-
-
+
+
+
|
#endif
/**
* @brief The element in which the namespace was not bound.
*/
@property (readonly, nonatomic) OFXMLElement *element;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased unbound namespace exception.
*
* @param nameSpace The namespace which is unbound
* @param element The element in which the namespace was not bound
* @return A new, autoreleased unbound namespace exception
*/
+ (instancetype)exceptionWithNamespace: (OFString *)nameSpace
element: (OFXMLElement *)element;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated unbound namespace exception.
*
* @param nameSpace The namespace which is unbound
* @param element The element in which the namespace was not bound
* @return An initialized unbound namespace exception
*/
- (instancetype)initWithNamespace: (OFString *)nameSpace
element: (OFXMLElement *)element
OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFUnboundPrefixException.h
from [aa8941dce1]
to [6d7bca5c41].
︙ | | |
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
69
|
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
69
|
-
-
-
+
+
+
|
@property (readonly, nonatomic) OFString *prefix;
/**
* @brief The parser which encountered the unbound prefix.
*/
@property (readonly, nonatomic) OFXMLParser *parser;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased unbound prefix exception.
*
* @param prefix The prefix which is unbound
* @param parser The parser which encountered the unbound prefix
* @return A new, autoreleased unbound prefix exception
*/
+ (instancetype)exceptionWithPrefix: (OFString *)prefix
parser: (OFXMLParser *)parser;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated unbound prefix exception.
*
* @param prefix The prefix which is unbound
* @param parser The parser which encountered the unbound prefix
* @return An initialized unbound prefix exception
*/
- (instancetype)initWithPrefix: (OFString *)prefix
parser: (OFXMLParser *)parser OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFUndefinedKeyException.h
from [87fea8b2cb]
to [4055b4e74a].
︙ | | |
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
-
-
|
@property (readonly, nonatomic) OFString *key;
/**
* @brief The value for the undefined key
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) id value;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased undefined key exception.
*
* @param object The object on which the key is undefined
* @param key The key which is undefined
*
* @return A new, autoreleased undefined key exception
|
︙ | | |
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
-
+
|
*
* @return A new, autoreleased undefined key exception
*/
+ (instancetype)exceptionWithObject: (id)object
key: (OFString *)key
value: (nullable id)value;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated undefined key exception.
*
* @param object The object on which the key is undefined
* @param key The key which is undefined
*
|
︙ | | |
91
92
93
94
95
96
97
98
99
100
|
89
90
91
92
93
94
95
96
97
98
99
100
|
+
+
|
* @param value The value for the undefined key
*
* @return An initialized undefined key exception
*/
- (instancetype)initWithObject: (id)object
key: (OFString *)key
value: (nullable id)value OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFUnknownXMLEntityException.h
from [dc23a68df4]
to [fdd37fe4f2].
︙ | | |
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
-
+
+
+
|
* @brief Creates a new, autoreleased unknown XML entity exception.
*
* @param entityName The name of the unknown XML entity
* @return A new, autoreleased unknown XML entity exception
*/
+ (instancetype)exceptionWithEntityName: (OFString *)entityName;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated unknown XML entity exception.
*
* @param entityName The name of the unknown XML entity
* @return An initialized unknown XML entity exception
*/
- (instancetype)initWithEntityName: (OFString *)entityName
OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFUnknownXMLEntityException.m
from [aae3e97dd2]
to [87056195a2].
︙ | | |
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
|
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
|
-
+
-
+
+
+
+
+
+
|
@synthesize entityName = _entityName;
+ (instancetype)exceptionWithEntityName: (OFString *)entityName
{
return [[[self alloc] initWithEntityName: entityName] autorelease];
}
- (instancetype)init
+ (instancetype)exception
{
OF_INVALID_INIT_METHOD
OF_UNRECOGNIZED_SELECTOR
}
- (instancetype)initWithEntityName: (OFString *)entityName
{
self = [super init];
@try {
_entityName = [entityName copy];
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
- (instancetype)init
{
OF_INVALID_INIT_METHOD
}
- (void)dealloc
{
[_entityName release];
[super dealloc];
}
|
︙ | | |
Modified src/exceptions/OFUnlockFailedException.h
from [a804f401f1]
to [ab29b208b2].
︙ | | |
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
-
+
|
* @class OFUnlockFailedException \
* OFUnlockFailedException.h ObjFW/OFUnlockFailedException.h
*
* @brief An exception indicating that unlocking a lock failed.
*/
@interface OFUnlockFailedException: OFException
{
id <OFLocking> _lock;
id <OFLocking> _Nullable _lock;
int _errNo;
}
/**
* @brief The lock which could not be unlocked.
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) id <OFLocking> lock;
|
︙ | | |
Modified src/exceptions/OFUnsupportedProtocolException.h
from [21fa1afa4d]
to [8223e3796e].
︙ | | |
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
|
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
|
-
+
-
+
-
+
-
+
|
* ObjFW/OFUnsupportedProtocolException.h
*
* @brief An exception indicating that the protocol specified by the URL is not
* supported.
*/
@interface OFUnsupportedProtocolException: OFException
{
OFURL *_URL;
OFURL *_Nullable _URL;
}
/**
* @brief The URL whose protocol is unsupported.
*/
@property (readonly, nonatomic) OFURL *URL;
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFURL *URL;
/**
* @brief Creates a new, autoreleased unsupported protocol exception.
*
* @param URL The URL whose protocol is unsupported
* @return A new, autoreleased unsupported protocol exception
*/
+ (instancetype)exceptionWithURL: (OFURL*)URL;
+ (instancetype)exceptionWithURL: (nullable OFURL*)URL;
/**
* @brief Initializes an already allocated unsupported protocol exception
*
* @param URL The URL whose protocol is unsupported
* @return An initialized unsupported protocol exception
*/
- (instancetype)initWithURL: (OFURL*)URL OF_DESIGNATED_INITIALIZER;
- (instancetype)initWithURL: (nullable OFURL*)URL OF_DESIGNATED_INITIALIZER;
@end
OF_ASSUME_NONNULL_END
|
Modified src/exceptions/OFUnsupportedVersionException.h
from [98797d9d3c]
to [fd604be220].
︙ | | |
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 version which is unsupported.
*/
@property (readonly, nonatomic) OFString *version;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased unsupported version exception.
*
* @param version The version which is unsupported
* @return A new, autoreleased unsupported version exception
*/
+ (instancetype)exceptionWithVersion: (OFString *)version;
- (instancetype)init OF_UNAVAILABLE;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated unsupported protocol exception.
*
* @param version The version which is unsupported
* @return An initialized unsupported version exception
*/
- (instancetype)initWithVersion: (OFString *)version OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|