-PixelFormatError::PixelFormatError (std::string o, AVPixelFormat f)
- : StringError (String::compose (_("Cannot handle pixel format %1 during %2"), f, o))
+PixelFormatError::PixelFormatError (string o, AVPixelFormat f)
+ : runtime_error (String::compose (_("Cannot handle pixel format %1 during %2"), f, o))
+{
+
+}
+
+TextSubtitleError::TextSubtitleError (string saw, string expecting, boost::filesystem::path f)
+ : FileError (String::compose (_("Error in subtitle file: saw %1 while expecting %2"), saw.empty() ? "[nothing]" : saw, expecting), f)
+{
+
+}
+
+InvalidSignerError::InvalidSignerError ()
+ : runtime_error (_("The certificate chain for signing is invalid"))
+{
+
+}
+
+ProgrammingError::ProgrammingError (string file, int line)
+ : runtime_error (String::compose (_("Programming error at %1:%2"), file, line))