diff options
author | Vincent Richard <[email protected]> | 2004-12-17 16:13:06 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-17 16:13:06 +0000 |
commit | 2e2cddd88ac219974218b837028ace344a526d0e (patch) | |
tree | 58d5445f5c8ef88bfe0f5bde116af109c84d7301 /src | |
parent | Added store::isValidFolderName(). (diff) | |
download | vmime-2e2cddd88ac219974218b837028ace344a526d0e.tar.gz vmime-2e2cddd88ac219974218b837028ace344a526d0e.zip |
Added @throw in function doc.
Diffstat (limited to 'src')
-rw-r--r-- | src/utility/file.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |