@@ -23,11 +23,11 @@ #import "socket.h" OF_ASSUME_NONNULL_BEGIN -/*! +/** * @class OFConnectionFailedException \ * OFConnectionFailedException.h ObjFW/OFConnectionFailedException.h * * @brief An exception indicating that a connection could not be established. */ @@ -39,43 +39,43 @@ unsigned char _node[IPX_NODE_LEN]; uint32_t _network; int _errNo; } -/*! +/** * @brief The socket which could not connect. */ @property (readonly, nonatomic) id socket; -/*! +/** * @brief The host to which the connection failed. */ @property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *host; -/*! +/** * @brief The port on the host to which the connection failed. */ @property (readonly, nonatomic) uint16_t port; -/*! +/** * @brief The IPX node to which the connection failed. */ @property (readonly, nonatomic) unsigned char *node; -/*! +/** * @brief The IPX network of the node to which the connection failed. */ @property (readonly, nonatomic) uint32_t network; -/*! +/** * @brief The errno of the error that occurred. */ @property (readonly, nonatomic) 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 @@ -85,11 +85,11 @@ + (instancetype)exceptionWithHost: (nullable OFString *)host port: (uint16_t)port socket: (id)socket errNo: (int)errNo; -/*! +/** * @brief Creates a new, autoreleased connection failed exception. * * @param node The node to which the connection failed * @param network The IPX network of the node to which the connection failed * @param port The port on the node to which the connection failed @@ -103,11 +103,11 @@ socket: (id)socket errNo: (int)errNo; - (instancetype)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 @@ -117,11 +117,11 @@ - (instancetype)initWithHost: (nullable OFString *)host port: (uint16_t)port socket: (id)socket errNo: (int)errNo; -/*! +/** * @brief Initializes an already allocated connection failed exception. * * @param node The node to which the connection failed * @param network The IPX network of the node to which the connection failed * @param port The port on the node to which the connection failed