ObjFW  Diff

Differences From Artifact [2e4d1739ad]:

To Artifact [254e69058d]:


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
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 Creates a new, autoreleased address translation failed exception.
 *
 * @param host The host for which translation was requested
 * @return A new, autoreleased address translation failed exception
 */
+ (instancetype)exceptionWithHost: (nullable OFString*)host;
+ (instancetype)exceptionWithHost: (nullable OFString *)host;

+ (instancetype)exceptionWithHost: (nullable OFString*)host
+ (instancetype)exceptionWithHost: (nullable OFString *)host
			    error: (int)error;
+ (instancetype)exceptionWithError: (int)error;

/*!
 * @brief Initializes an already allocated address translation failed exception.
 *
 * @param host The host for which translation was requested
 * @return An initialized address translation failed exception
 */
- initWithHost: (nullable OFString*)host;
- initWithHost: (nullable OFString *)host;

- (instancetype)initWithHost: (nullable OFString*)host
- (instancetype)initWithHost: (nullable OFString *)host
		       error: (int)error;
- (instancetype)initWithError: (int)error;
@end

OF_ASSUME_NONNULL_END