projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Throw a better error on bad content kind.
[libdcp.git]
/
src
/
exceptions.h
diff --git
a/src/exceptions.h
b/src/exceptions.h
index 8bc6e55054e58662c4756cfafa97b0003dc4417f..d66e89449632eb13a9d8b823464a1b2657446625 100644
(file)
--- a/
src/exceptions.h
+++ b/
src/exceptions.h
@@
-136,6
+136,12
@@
public:
~MissingAssetError () throw () {}
};
+class BadContentKindError : public DCPReadError
+{
+public:
+ BadContentKindError (std::string content_kind);
+};
+
/** @class XMLError
* @brief An XML error
*/