/*
- Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2018 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
}
+BadContentKindError::BadContentKindError (string content_kind)
+ : DCPReadError (String::compose("Bad content kind '%1'", content_kind))
+{
+
+}
+
NotEncryptedError::NotEncryptedError (string const & what)
: runtime_error (String::compose ("%1 is not encrypted", what))
{
~MissingAssetError () throw () {}
};
+class BadContentKindError : public DCPReadError
+{
+public:
+ BadContentKindError (std::string content_kind);
+};
+
/** @class XMLError
* @brief An XML error
*/