Basics of joining.
[dcpomatic.git] / src / lib / exceptions.h
index f587f055fde8fa87fffc5e6f66f69ce9ac8b4365..f4631c09b67310bcf75492daca3b2b58dfd5e835 100644 (file)
@@ -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.
@@ -209,6 +216,14 @@ public:
        {}
 };
 
+class KDMError : public StringError
+{
+public:
+       KDMError (std::string s)
+               : StringError (s)
+       {}
+};
+
 class PixelFormatError : public StringError
 {
 public: