+
+/** @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)
+ {}
+};
+
+class InvalidSignerError : public std::runtime_error
+{
+public:
+ InvalidSignerError ();
+};
+
+class ProgrammingError : public std::runtime_error
+{
+public:
+ ProgrammingError (std::string file, int line);
+};
+
+class TextEncodingError : public std::runtime_error
+{
+public:
+ TextEncodingError (std::string s)
+ : std::runtime_error (s)
+ {}
+};
+
+#endif