Differences From Artifact [da0c71c6e8]:
- File
src/exceptions/OFConnectionFailedException.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: 3182) [annotate] [blame] [check-ins using]
To Artifact [0154995510]:
- File src/exceptions/OFConnectionFailedException.h — part of check-in [16c05e87e1] at 2017-05-07 23:14:22 on branch trunk — Add OF_UNAVAILABLE (user: js, size: 3249) [annotate] [blame] [check-ins using]
︙ | |||
52 53 54 55 56 57 58 59 60 61 62 63 64 65 | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | + + | @property (readonly) uint16_t port; /*! * The errno of the error that occurred. */ @property (readonly) int errNo; + (instancetype)exception OF_UNAVAILABLE; /*! * @brief Creates a new, autoreleased connection failed exception. * * @param host The host to which the connection failed * @param port The port on the host to which the connection failed * @param socket The socket which could not connect * @return A new, autoreleased connection failed exception |
︙ | |||
77 78 79 80 81 82 83 84 85 86 87 88 89 90 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | + + | * @param errNo The errno of the error that occurred * @return A new, autoreleased connection failed exception */ + (instancetype)exceptionWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket errNo: (int)errNo; - init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated connection failed exception. * * @param host The host to which the connection failed * @param port The port on the host to which the connection failed * @param socket The socket which could not connect |
︙ |