@@ -28,27 +28,31 @@ #ifdef OF_HAVE_PROPERTIES @property (readonly, copy, nonatomic) OFString *version; #endif /** + * \brief Creates a new, autoreleased unsupported version exception. + * * \param class_ The class of the object which caused the exception * \param version The version which is unsupported - * \return A new unsupported version exception + * \return A new, autoreleased unsupported version exception */ + (instancetype)exceptionWithClass: (Class)class_ version: (OFString*)version; /** - * Initializes an already allocated unsupported protocol exception + * \brief Initializes an already allocated unsupported protocol exception. * * \param class_ The class of the object which caused the exception * \param version The version which is unsupported * \return An initialized unsupported version exception */ - initWithClass: (Class)class_ version: (OFString*)version; /** + * \brief Returns the version which is unsupported. + * * \return The version which is unsupported */ - (OFString*)version; @end