@@ -32,21 +32,23 @@ @property (readonly, copy, nonatomic) OFString *destinationPath; @property (readonly) int errNo; # endif /*! + * @brief Creates a new, autoreleased 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 + * @return A new, autoreleased link failed exception */ + (instancetype)exceptionWithClass: (Class)class_ sourcePath: (OFString*)source destinationPath: (OFString*)destination; /*! - * Initializes an already allocated link failed exception. + * @brief 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 @@ -54,20 +56,26 @@ - initWithClass: (Class)class_ sourcePath: (OFString*)source destinationPath: (OFString*)destination; /*! + * @brief Returns the errno from when the exception was created. + * * @return The errno from when the exception was created */ - (int)errNo; /*! + * @brief Returns a string with the source for the link. + * * @return A string with the source for the link */ - (OFString*)sourcePath; /*! + * @brief Returns a string with the destination for the link. + * * @return A string with the destination for the link */ - (OFString*)destinationPath; @end #endif