@@ -21,11 +21,11 @@ # error No sockets available! #endif OF_ASSUME_NONNULL_BEGIN -/*! +/** * @class OFAcceptFailedException \ * OFAcceptFailedException.h ObjFW/OFAcceptFailedException.h * * @brief An exception indicating that accepting a connection failed. */ @@ -33,23 +33,23 @@ { id _socket; int _errNo; } -/*! +/** * @brief The socket which could not accept a connection. */ @property (readonly, nonatomic) id socket; -/*! +/** * @brief The errno from when the exception was created. */ @property (readonly, nonatomic) int errNo; + (instancetype)exception OF_UNAVAILABLE; -/*! +/** * @brief Creates a new, autoreleased accept failed exception. * * @param socket The socket which could not accept a connection * @param errNo The errno for the error * @return A new, autoreleased accept failed exception @@ -57,11 +57,11 @@ + (instancetype)exceptionWithSocket: (id)socket errNo: (int)errNo; - (instancetype)init OF_UNAVAILABLE; -/*! +/** * @brief Initializes an already allocated accept failed exception. * * @param socket The socket which could not accept a connection * @param errNo The errno for the error * @return An initialized accept failed exception