diff options
author | Daniel Wilhelm <shieldwed@outlook.com> | 2018-05-09 00:04:33 +0200 |
---|---|---|
committer | Daniel Wilhelm <shieldwed@outlook.com> | 2018-05-09 00:04:33 +0200 |
commit | 017e56b81ba735c39c43701f737ac7dde55da7b4 (patch) | |
tree | ea7aaaee13a06a702701e2f74f5d390e10ae303e /zen/file_error.h | |
parent | 9.4 (diff) | |
download | FreeFileSync-017e56b81ba735c39c43701f737ac7dde55da7b4.tar.gz FreeFileSync-017e56b81ba735c39c43701f737ac7dde55da7b4.tar.bz2 FreeFileSync-017e56b81ba735c39c43701f737ac7dde55da7b4.zip |
9.5
Diffstat (limited to 'zen/file_error.h')
-rwxr-xr-x | zen/file_error.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/zen/file_error.h b/zen/file_error.h index b318e708..18e790de 100755 --- a/zen/file_error.h +++ b/zen/file_error.h @@ -14,8 +14,7 @@ namespace zen { -//A high-level exception class giving detailed context information for end users -class FileError +class FileError //A high-level exception class giving detailed context information for end users { public: explicit FileError(const std::wstring& msg) : msg_(msg) {} @@ -28,7 +27,7 @@ private: std::wstring msg_; }; -#define DEFINE_NEW_FILE_ERROR(X) struct X : public FileError { X(const std::wstring& msg) : FileError(msg) {} X(const std::wstring& msg, const std::wstring& descr) : FileError(msg, descr) {} }; +#define DEFINE_NEW_FILE_ERROR(X) struct X : public zen::FileError { X(const std::wstring& msg) : FileError(msg) {} X(const std::wstring& msg, const std::wstring& descr) : FileError(msg, descr) {} }; DEFINE_NEW_FILE_ERROR(ErrorTargetExisting); //DEFINE_NEW_FILE_ERROR(ErrorTargetPathMissing); |