summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dcp_examiner.cc')
-rw-r--r--src/lib/dcp_examiner.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc
index fe2660d48..22b10ab84 100644
--- a/src/lib/dcp_examiner.cc
+++ b/src/lib/dcp_examiner.cc
@@ -39,6 +39,7 @@
using std::list;
using std::cout;
+using std::runtime_error;
using boost::shared_ptr;
using boost::dynamic_pointer_cast;
@@ -130,7 +131,7 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content)
_kdm_valid = false;
if (_encrypted && content->kdm ()) {
/* XXX: maybe don't use an exception for this */
- throw StringError (_("The KDM does not decrypt the DCP. Perhaps it is targeted at the wrong CPL."));
+ throw runtime_error (_("The KDM does not decrypt the DCP. Perhaps it is targeted at the wrong CPL."));
}
}
}