Hand-apply d849d411cff28ef5453085791d0b4d7cd73bd070 from master; replace all assert...
[dcpomatic.git] / src / lib / exceptions.cc
index 95d4c8cce3d3a7283763010af483957319b0242c..c4c3d08151773f8e184e6a45f67c705165ec2f10 100644 (file)
@@ -73,3 +73,9 @@ InvalidSignerError::InvalidSignerError ()
 {
 
 }
+
+ProgrammingError::ProgrammingError (string file, int line)
+       : StringError (String::compose (_("Programming error at %1:%2"), file, line))
+{
+
+}