+ : runtime_error (String::compose ("Programming error at %1:%2", file, line))
+{
+
+}
+
+SubripError::SubripError (string saw, string expecting, list<string> context)
+ : runtime_error ("Error in SubRip file: saw " + (saw.empty() ? "an empty string" : saw) + " when expecting " + expecting)
+ , _context (context)