More player debugging for butler video-full states.
[dcpomatic.git] / src / lib / exceptions.cc
index 43a8f3b86bfc1fb45f9f1160158a15386037af92..481d2e89dd668fd82b7e78c5651a0df1a2482e84 100644 (file)
@@ -89,4 +89,14 @@ ProgrammingError::ProgrammingError (string file, int line, string message)
 
 KDMAsContentError::KDMAsContentError ()
        : runtime_error (_("This file is a KDM.  KDMs should be added to DCP content by right-clicking the content and choosing \"Add KDM\"."))
-{}
+{
+
+}
+
+KDMError::KDMError (string s, string d)
+       : runtime_error (String::compose ("%1 (%2)", s, d))
+       , _summary (s)
+       , _detail (d)
+{
+
+}