diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:00:17 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:00:17 +0200 |
commit | fd0853d2623dd278b08288331ed42e3be59252fb (patch) | |
tree | a7645daeaef8bdbed064faf4eb88e72cee58726c /shared/fileError.h | |
parent | 2.1 (diff) | |
download | FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.tar.gz FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.tar.bz2 FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.zip |
2.2
Diffstat (limited to 'shared/fileError.h')
-rw-r--r-- | shared/fileError.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/shared/fileError.h b/shared/fileError.h new file mode 100644 index 00000000..f5c6bdbd --- /dev/null +++ b/shared/fileError.h @@ -0,0 +1,25 @@ +#ifndef FILEERROR_H_INCLUDED +#define FILEERROR_H_INCLUDED + +#include <wx/string.h> + + +namespace FreeFileSync +{ + class FileError //Exception class used to notify file/directory copy/delete errors + { + public: + FileError(const wxString& message) : + errorMessage(message) {} + + const wxString& show() const + { + return errorMessage; + } + + private: + wxString errorMessage; + }; +} + +#endif // FILEERROR_H_INCLUDED |