@@ -15,12 +15,12 @@ */ #import "OFException.h" #ifndef _WIN32 -/** - * \brief An exception indicating that creating a link failed. +/*! + * @brief An exception indicating that creating a link failed. */ @interface OFLinkFailedException: OFException { OFString *sourcePath; OFString *destinationPath; @@ -31,43 +31,43 @@ @property (readonly, copy, nonatomic) OFString *sourcePath; @property (readonly, copy, nonatomic) OFString *destinationPath; @property (readonly) int errNo; # endif -/** - * \param class_ The class of the object which caused the exception - * \param source The source for the link - * \param destination The destination for the link - * \return A new link failed exception +/*! + * @param class_ The class of the object which caused the exception + * @param source The source for the link + * @param destination The destination for the link + * @return A new link failed exception */ + (instancetype)exceptionWithClass: (Class)class_ sourcePath: (OFString*)source destinationPath: (OFString*)destination; -/** +/*! * Initializes an already allocated link failed exception. * - * \param class_ The class of the object which caused the exception - * \param source The source for the link - * \param destination The destination for the link - * \return An initialized link failed exception + * @param class_ The class of the object which caused the exception + * @param source The source for the link + * @param destination The destination for the link + * @return An initialized link failed exception */ - initWithClass: (Class)class_ sourcePath: (OFString*)source destinationPath: (OFString*)destination; -/** - * \return The errno from when the exception was created +/*! + * @return The errno from when the exception was created */ - (int)errNo; -/** - * \return A string with the source for the link +/*! + * @return A string with the source for the link */ - (OFString*)sourcePath; -/** - * \return A string with the destination for the link +/*! + * @return A string with the destination for the link */ - (OFString*)destinationPath; @end #endif