diff options
Diffstat (limited to 'src/lib/exceptions.h')
| -rw-r--r-- | src/lib/exceptions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h index 769857fd3..eceafa105 100644 --- a/src/lib/exceptions.h +++ b/src/lib/exceptions.h @@ -81,6 +81,14 @@ private: boost::filesystem::path _file; }; +class JoinError : public std::runtime_error +{ +public: + explicit JoinError (std::string s) + : std::runtime_error (s) + {} +}; + /** @class OpenFileError. * @brief Indicates that some error occurred when trying to open a file. */ |
