Extract common code out into kdm_for_screen()
[dcpomatic.git] / src / lib / types.cc
index 9806c99712eb8d1a6c87e43cab4f39aeb530921f..9519b309729db5ed323ccdd7bcd8ef0ad93a9d1d 100644 (file)
@@ -197,7 +197,7 @@ CPLSummary::CPLSummary (boost::filesystem::path p)
        list<dcp::VerificationNote> notes;
        dcp.read (&notes);
        if (!notes.empty()) {
-               throw dcp::DCPReadError(dcp::note_to_string(notes.front()));
+               throw dcp::ReadError(dcp::note_to_string(notes.front()));
        }
 
        cpl_id = dcp.cpls().front()->id();