Differences From Artifact [2e4d1739ad]:
- File src/exceptions/OFAddressTranslationFailedException.h — part of check-in [cc4cb0d824] at 2017-05-02 21:10:33 on branch trunk — exceptions: Add nullability specifiers (user: js, size: 1977) [annotate] [blame] [check-ins using]
To Artifact [254e69058d]:
- File
src/exceptions/OFAddressTranslationFailedException.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 1981) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
42 43 44 45 46 47 48 | /*! * @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 */ | | | | | | 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 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; - (instancetype)initWithHost: (nullable OFString *)host error: (int)error; - (instancetype)initWithError: (int)error; @end OF_ASSUME_NONNULL_END |