X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fexceptions.h;h=f4631c09b67310bcf75492daca3b2b58dfd5e835;hb=98060a4e6f02b418f30b4b736e5880a357454c40;hp=f587f055fde8fa87fffc5e6f66f69ce9ac8b4365;hpb=f071268af155c9443fadba8d4368f960b82704ab;p=dcpomatic.git diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h index f587f055f..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. @@ -209,6 +216,14 @@ public: {} }; +class KDMError : public StringError +{ +public: + KDMError (std::string s) + : StringError (s) + {} +}; + class PixelFormatError : public StringError { public: