+ : std::runtime_error (s)
+ {}
+};
+
+/** @class KDMError
+ * @brief A problem with a KDM.
+ */
+class KDMError : public std::runtime_error
+{
+public:
+ KDMError (std::string s)
+ : std::runtime_error (s)
+ {}
+};
+
+/** @class PixelFormatError
+ * @brief A problem with an unsupported pixel format.
+ */
+class PixelFormatError : public std::runtime_error
+{
+public:
+ PixelFormatError (std::string o, AVPixelFormat f);
+};
+
+/** @class TextSubtitleError
+ * @brief An error that occurs while parsing a TextSubtitleError file.
+ */
+class TextSubtitleError : public FileError
+{
+public:
+ TextSubtitleError (std::string, std::string, boost::filesystem::path);
+};
+
+class DCPError : public std::runtime_error
+{
+public:
+ DCPError (std::string s)
+ : std::runtime_error (s)