diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:08:42 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:08:42 +0200 |
commit | c32707148292d104c66276b43796d6057c8c7a5d (patch) | |
tree | bb83513f4aff24153e21a4ec92e34e4c27651b1f /library/db_file.h | |
parent | 3.9 (diff) | |
download | FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.tar.gz FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.tar.bz2 FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.zip |
3.10
Diffstat (limited to 'library/db_file.h')
-rw-r--r-- | library/db_file.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/library/db_file.h b/library/db_file.h index 8e1f9c94..ea9d68ad 100644 --- a/library/db_file.h +++ b/library/db_file.h @@ -20,7 +20,13 @@ struct DirInformation }; typedef boost::shared_ptr<const DirInformation> DirInfoPtr; -std::pair<DirInfoPtr, DirInfoPtr> loadFromDisk(const BaseDirMapping& baseMapping); //throw (FileError) -> return value always bound! +class FileErrorDatabaseNotExisting : public FileError +{ +public: + FileErrorDatabaseNotExisting(const wxString& message) : FileError(message) {} +}; + +std::pair<DirInfoPtr, DirInfoPtr> loadFromDisk(const BaseDirMapping& baseMapping); //throw (FileError, FileErrorDatabaseNotExisting) -> return value always bound! } #endif // DBFILE_H_INCLUDED |