diff options
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); |