projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
959f051
)
Throw a KDMFormatError if cxml throws an error when reading KDM XML.
author
Carl Hetherington
<cth@carlh.net>
Wed, 17 Aug 2022 23:42:19 +0000
(
01:42
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 17 Aug 2022 23:42:19 +0000
(
01:42
+0200)
src/encrypted_kdm.cc
patch
|
blob
|
history
diff --git
a/src/encrypted_kdm.cc
b/src/encrypted_kdm.cc
index 5e5f9fe445e5cdf0aab42403112d32deb1d00bed..10790d483a41c775a0a8c0080128bfba5f756475 100644
(file)
--- a/
src/encrypted_kdm.cc
+++ b/
src/encrypted_kdm.cc
@@
-598,6
+598,8
@@
EncryptedKDM::EncryptedKDM (string s)
_data = new data::EncryptedKDMData (doc);
} catch (xmlpp::parse_error& e) {
throw KDMFormatError (e.what ());
+ } catch (cxml::Error& e) {
+ throw KDMFormatError(e.what());
}
}