@@ -57,11 +57,11 @@ * @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 - * @param errNo The errno of the error + * @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 @@ -83,11 +83,11 @@ * @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 - * @param errNo The errno of the error + * @param errNo The errno of the error that occurred * @return An initialized connection failed exception */ - initWithHost: (OFString*)host port: (uint16_t)port socket: (id)socket @@ -113,11 +113,11 @@ * @return The port on the host to which the connection failed */ - (uint16_t)port; /*! - * @brief Returns the errno from when the exception was created. + * @brief Returns the errno of the error that occurred. * - * @return The errno from when the exception was created + * @return The errno of the error that occurred */ - (int)errNo; @end