From 6199e090dc1e32d3753ba7e7d7ea8c5f0d79f046 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 21 Jul 2018 21:47:25 +0100 Subject: Revert "Remove join function; the code is long and I don't think anybody" It turns out Carsten uses it :) This reverts commit bd5e8b83a3a18787241982efdae809d4db21f65d. --- src/lib/exceptions.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib/exceptions.h') 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. */ -- cgit v1.2.3