diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-23 20:24:51 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-23 20:24:51 +0000 |
| commit | c3da7c64f01420447dbab7f5c2ea42ff1b911cc5 (patch) | |
| tree | 77832e3b515987132ce8fe64ee82eaa2e87b8bd0 /src/lib/exceptions.h | |
| parent | bab2a1cf99c58dcb598fed383015b1937d3ea07f (diff) | |
Basics of joining.
Diffstat (limited to 'src/lib/exceptions.h')
| -rw-r--r-- | src/lib/exceptions.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h index b04d973dc..f4631c09b 100644 --- a/src/lib/exceptions.h +++ b/src/lib/exceptions.h @@ -104,7 +104,14 @@ private: /** name of the file that this exception concerns */ boost::filesystem::path _file; }; - + +class JoinError : public StringError +{ +public: + JoinError (std::string s) + : StringError (s) + {} +}; /** @class OpenFileError. * @brief Indicates that some error occurred when trying to open a file. |
