We should not carry on if files don't open in tests.
[libdcp.git] / src / exceptions.h
index 79ee9fca285bb2a4002a7c17a30a421bdcd1345e..b9bcfd3783a2e9772b1c9b19933b823e0fbfe0af 100644 (file)
@@ -254,6 +254,35 @@ public:
        LanguageTagError (std::string message);
 };
 
+
+class BadSettingError : public std::runtime_error
+{
+public:
+       BadSettingError (std::string message);
+};
+
+
+class DuplicateIdError : public std::runtime_error
+{
+public:
+       DuplicateIdError (std::string message);
+};
+
+
+class MainSoundConfigurationError : public std::runtime_error
+{
+public:
+       MainSoundConfigurationError (std::string s);
+};
+
+
+class UnknownChannelIdError : public std::runtime_error
+{
+public:
+       UnknownChannelIdError (std::string s);
+};
+
+
 }
 
 #endif