@@ -27,27 +27,31 @@ #ifdef OF_HAVE_PROPERTIES @property (readonly) SEL selector; #endif /** + * \brief Creates a new, autoreleased invalid argument exception. + * * \param class_ The class of the object which caused the exception * \param selector The selector which doesn't accept the argument - * \return A new invalid argument exception + * \return A new, autoreleased invalid argument exception */ + (instancetype)exceptionWithClass: (Class)class_ selector: (SEL)selector; /** - * Initializes an already allocated invalid argument exception + * \brief Initializes an already allocated invalid argument exception. * * \param class_ The class of the object which caused the exception * \param selector The selector which doesn't accept the argument * \return An initialized invalid argument exception */ - initWithClass: (Class)class_ selector: (SEL)selector; /** + * \brief Returns the selector to which an invalid argument was passed. + * * \return The selector to which an invalid argument was passed */ - (SEL)selector; @end