@@ -30,27 +30,31 @@ #ifdef OF_HAVE_PROPERTIES @property (readonly, retain, nonatomic) OFTCPSocket *socket; #endif /*! + * @brief Creates a new, autoreleased already connected exception. + * * @param class_ The class of the object which caused the exception * @param socket The socket which is already connected - * @return A new already connected exception + * @return A new, autoreleased already connected exception */ + (instancetype)exceptionWithClass: (Class)class_ socket: (OFTCPSocket*)socket; /*! - * Initializes an already allocated already connected exception. + * @brief Initializes an already allocated already connected exception. * * @param class_ The class of the object which caused the exception * @param socket The socket which is already connected * @return An initialized already connected exception */ - initWithClass: (Class)class_ socket: (OFTCPSocket*)socket; /*! + * @brief Returns the socket which is already connected. + * * @return The socket which is already connected */ - (OFTCPSocket*)socket; @end