public:
explicit DCPReadError (std::string message)
: std::runtime_error(message)
+ , _message(message)
{}
DCPReadError (std::string message, std::string detail);
MissingAssetError (boost::filesystem::path, AssetType = UNKNOWN);
~MissingAssetError () throw () {}
+
+ boost::filesystem::path path () const {
+ return _path;
+ }
+
+private:
+ boost::filesystem::path _path;
+};
+
+class BadContentKindError : public DCPReadError
+{
+public:
+ BadContentKindError (std::string content_kind);
};
/** @class XMLError
CertificateChainError (std::string message);
};
+class MissingSubtitleImageError : public std::runtime_error
+{
+public:
+ MissingSubtitleImageError (std::string id);
+};
+
}
#endif