Revert "Remove join function; the code is long and I don't think anybody"
[dcpomatic.git] / src / lib / exceptions.h
index 769857fd33d985ed12a37b8d5d018b14fd659cfe..eceafa10501d656a55ef78961590ecaff72108b7 100644 (file)
@@ -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.
  */