From 2e2cddd88ac219974218b837028ace344a526d0e Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 17 Dec 2004 16:13:06 +0000 Subject: [PATCH] Added @throw in function doc. --- src/utility/file.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utility/file.hpp b/src/utility/file.hpp index 5dc7d01d..bf729a31 100644 --- a/src/utility/file.hpp +++ b/src/utility/file.hpp @@ -101,6 +101,7 @@ public: /** Create the file pointed by this file object. + * @throw exceptions::filesystem_exception if an error occurs */ virtual void createFile() = 0; @@ -108,6 +109,7 @@ public: * * @param createAll if set to true, recursively create all * parent directories if they do not exist + * @throw exceptions::filesystem_exception if an error occurs */ virtual void createDirectory(const bool createAll = false) = 0; @@ -162,10 +164,12 @@ public: /** Rename the file/directory. * * @param newName full path of the new file + * @throw exceptions::filesystem_exception if an error occurs */ virtual void rename(const path& newName) = 0; /** Deletes this file/directory. + * @throw exceptions::filesystem_exception if an error occurs */ virtual void remove() = 0;