@@ -23,11 +23,11 @@ #import "socket.h" OF_ASSUME_NONNULL_BEGIN -/*! +/** * @class OFBindFailedException \ * OFBindFailedException.h ObjFW/OFBindFailedException.h * * @brief An exception indicating that binding a socket failed. */ @@ -40,38 +40,38 @@ /* IPX */ uint8_t _packetType; int _errNo; } -/*! +/** * @brief The host on which binding failed. */ @property (readonly, nonatomic) OFString *host; -/*! +/** * @brief The port on which binding failed. */ @property (readonly, nonatomic) uint16_t port; -/*! +/** * @brief The IPX packet type for which binding failed. */ @property (readonly, nonatomic) uint8_t packetType; -/*! +/** * @brief The socket which could not be bound. */ @property (readonly, nonatomic) id socket; -/*! +/** * @brief The errno of the error that occurred. */ @property (readonly, nonatomic) int errNo; + (instancetype)exception OF_UNAVAILABLE; -/*! +/** * @brief Creates a new, autoreleased bind failed exception. * * @param host The host on which binding failed * @param port The port on which binding failed * @param socket The socket which could not be bound @@ -81,11 +81,11 @@ + (instancetype)exceptionWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket errNo: (int)errNo; -/*! +/** * @brief Creates a new, autoreleased bind failed exception. * * @param port The IPX port to which binding failed * @param packetType The IPX packet type for which binding failed * @param socket The socket which could not be bound @@ -97,11 +97,11 @@ socket: (id)socket errNo: (int)errNo; - (instancetype)init OF_UNAVAILABLE; -/*! +/** * @brief Initializes an already allocated bind failed exception. * * @param host The host on which binding failed * @param port The port on which binding failed * @param socket The socket which could not be bound @@ -111,11 +111,11 @@ - (instancetype)initWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket errNo: (int)errNo; -/*! +/** * @brief Initializes an already allocated bind failed exception. * * @param port The IPX port to which binding failed * @param packetType The IPX packet type for which binding failed * @param socket The socket which could not be bound