@@ -29,25 +29,31 @@ #ifdef OF_HAVE_PROPERTIES @property (readonly, retain, nonatomic) OFStream *stream; #endif /** + * \brief Creates a new, autoreleased set option failed exception. + * + * \param class_ The class of the object which caused the exception * \param stream The stream for which the option could not be set - * \return A new set option failed exception + * \return A new, autoreleased set option failed exception */ + (instancetype)exceptionWithClass: (Class)class_ stream: (OFStream*)stream; /** - * Initializes an already allocated set option failed exception. + * \brief Initializes an already allocated set option failed exception. * + * \param class_ The class of the object which caused the exception * \param stream The stream for which the option could not be set * \return An initialized set option failed exception */ - initWithClass: (Class)class_ stream: (OFStream*)stream; /** + * \brief Returns the stream for which the option could not be set. + * * \return The stream for which the option could not be set */ - (OFStream*)stream; @end