Hand-apply d849d411cff28ef5453085791d0b4d7cd73bd070 from master; replace all assert...
[dcpomatic.git] / src / lib / exceptions.cc
index f34cebbfe04a69f94fa2e07df3bb74aab5d41a51..c4c3d08151773f8e184e6a45f67c705165ec2f10 100644 (file)
@@ -67,3 +67,15 @@ SubRipError::SubRipError (string saw, string expecting, boost::filesystem::path
 {
        
 }
+
+InvalidSignerError::InvalidSignerError ()
+       : StringError (_("The certificate chain for signing is invalid"))
+{
+
+}
+
+ProgrammingError::ProgrammingError (string file, int line)
+       : StringError (String::compose (_("Programming error at %1:%2"), file, line))
+{
+
+}