diff options
author | vng <viktor.govako@gmail.com> | 2015-09-25 16:22:48 +0300 |
---|---|---|
committer | vng <viktor.govako@gmail.com> | 2015-09-25 17:17:52 +0300 |
commit | 25aaa05cefa9ecdd4ce6e7893786b4bf0eec5366 (patch) | |
tree | 1a988724f19463c79b18cbfa738bed7f5c7e26c8 /platform/local_country_file_utils.hpp | |
parent | c56f4c20b946bf62831e917a695d4e6c7861fdd9 (diff) |
[mwm set] Handle file system exceptions when building feature offsets index.
Diffstat (limited to 'platform/local_country_file_utils.hpp')
-rw-r--r-- | platform/local_country_file_utils.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/local_country_file_utils.hpp b/platform/local_country_file_utils.hpp index 660dcd65c3..739a9d35ba 100644 --- a/platform/local_country_file_utils.hpp +++ b/platform/local_country_file_utils.hpp @@ -62,10 +62,10 @@ public: Offsets }; - // Prepares (if necessary) directory for country indexes. Local file - // should point to existing local country files. Returns true on - // success, false otherwise. - static bool PreparePlaceOnDisk(LocalCountryFile const & localFile); + /// Prepares (if necessary) directory for country indexes. Local file + /// should point to existing local country files. + /// @throw FileSystemException if any file system error occured. + static void PreparePlaceOnDisk(LocalCountryFile const & localFile); // Removes country indexes from disk including containing directory. static bool DeleteFromDisk(LocalCountryFile const & localFile); |