diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:15 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:15 +0200 |
commit | 8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395 (patch) | |
tree | 975c6e590c31e56007006a23e7b15d0245d75b08 /shared/fileError.h | |
parent | 3.6 (diff) | |
download | FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.gz FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.bz2 FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.zip |
3.7
Diffstat (limited to 'shared/fileError.h')
-rw-r--r-- | shared/fileError.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/fileError.h b/shared/fileError.h index ac47dfed..210d1029 100644 --- a/shared/fileError.h +++ b/shared/fileError.h @@ -12,19 +12,21 @@ namespace FreeFileSync { -class FileError //Exception class used to notify file/directory copy/delete errors +class FileError //Exception base class used to notify file/directory copy/delete errors { public: FileError(const wxString& message) : errorMessage(message) {} + virtual ~FileError() {} + const wxString& show() const { return errorMessage; } private: - wxString errorMessage; + const wxString errorMessage; }; } |