+/** @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:
+ explicit DCPError (std::string s)
+ : std::runtime_error (s)
+ {}
+};
+
+class InvalidSignerError : public std::runtime_error
+{
+public:
+ InvalidSignerError ();
+ explicit InvalidSignerError (std::string reason);
+};
+
+class ProgrammingError : public std::runtime_error
+{
+public:
+ ProgrammingError (std::string file, int line, std::string message = "");
+};
+
+class TextEncodingError : public std::runtime_error