- DCPReadError (std::string message) : _message (message) {}
- ~DCPReadError () throw () {}
-
- /** @return error message */
- char const * what () const throw () {
- return _message.c_str ();
- }
+ enum AssetType {
+ MAIN_PICTURE, //< main picture is missing
+ MAIN_SOUND, //< main sound is missing
+ MAIN_SUBTITLE, //< main subtitle is missing
+ UNKNOWN //< something is missing but we don't know what
+ };
+
+ MissingAssetError (boost::filesystem::path, AssetType = UNKNOWN);
+ ~MissingAssetError () throw () {}