}
MissingSettingError::MissingSettingError (string s)
- : SettingError (s, String::compose (_("missing required setting %1"), s))
+ : SettingError (s, String::compose (_("Missing required setting %1"), s))
{
}
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)
+{
+
+}