Remove Film dependency from Butler.
[dcpomatic.git] / src / lib / exceptions.h
index 99a8c0dc47dcb585b95a25f436e64c1fdee3c85b..08cbcb1d66bf6a593be12c84af52fd2479b5816b 100644 (file)
@@ -167,7 +167,9 @@ public:
 class BadSettingError : public SettingError
 {
 public:
-       /** @param s Name of setting that is bad */
+       /** @param s Name of setting that is bad.
+        *  @param m Error message.
+        */
        BadSettingError (std::string s, std::string m)
                : SettingError (s, m)
        {}
@@ -231,7 +233,7 @@ public:
 class ProgrammingError : public std::runtime_error
 {
 public:
-       ProgrammingError (std::string file, int line);
+       ProgrammingError (std::string file, int line, std::string message = "");
 };
 
 class TextEncodingError : public std::runtime_error
@@ -250,4 +252,10 @@ public:
        {}
 };
 
+class KDMAsContentError : public std::runtime_error
+{
+public:
+       KDMAsContentError ();
+};
+
 #endif