@@ -21,11 +21,11 @@ # error No sockets available! #endif OF_ASSUME_NONNULL_BEGIN -/*! +/** * @class OFListenFailedException \ * OFListenFailedException.h ObjFW/OFListenFailedException.h * * @brief An exception indicating that listening on the socket failed. */ @@ -33,28 +33,28 @@ { id _socket; int _backlog, _errNo; } -/*! +/** * @brief The socket which failed to listen. */ @property (readonly, nonatomic) id socket; -/*! +/** * @brief The requested back log. */ @property (readonly, nonatomic) int backlog; -/*! +/** * @brief The errno of the error that occurred. */ @property (readonly, nonatomic) int errNo; + (instancetype)exception OF_UNAVAILABLE; -/*! +/** * @brief Creates a new, autoreleased listen failed exception. * * @param socket The socket which failed to listen * @param backlog The requested size of the back log * @param errNo The errno of the error that occurred @@ -64,11 +64,11 @@ backlog: (int)backlog errNo: (int)errNo; - (instancetype)init OF_UNAVAILABLE; -/*! +/** * @brief Initializes an already allocated listen failed exception * * @param socket The socket which failed to listen * @param backlog The requested size of the back log * @param errNo The errno of the error that occurred