ObjFW  Diff

Differences From Artifact [f3f5b9898b]:

To Artifact [b45d336249]:


52
53
54
55
56
57
58
59

60
61
62
63
64
65
66
67
68
69


70
71
72
52
53
54
55
56
57
58

59
60
61
62
63
64
65
66
67


68
69
70
71
72







-
+








-
-
+
+



 * @param socket The socket which could not accept a connection
 * @param errNo The errno for the error
 * @return A new, autoreleased accept failed exception
 */
+ (instancetype)exceptionWithSocket: (id)socket
			      errNo: (int)errNo;

- init OF_UNAVAILABLE;
- (instancetype)init OF_UNAVAILABLE;

/*!
 * @brief Initializes an already allocated accept failed exception.
 *
 * @param socket The socket which could not accept a connection
 * @param errNo The errno for the error
 * @return An initialized accept failed exception
 */
- initWithSocket: (id)socket
	   errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
- (instancetype)initWithSocket: (id)socket
			 errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
@end

OF_ASSUME_NONNULL_END