Reveal path in MissingAssetError.
[libdcp.git] / src / exceptions.h
index d66e89449632eb13a9d8b823464a1b2657446625..4c54ac787f4aae9f0574871fd602ebe9f03e44e0 100644 (file)
@@ -134,6 +134,13 @@ public:
 
        MissingAssetError (boost::filesystem::path, AssetType = UNKNOWN);
        ~MissingAssetError () throw () {}
+
+       boost::filesystem::path path () const {
+               return _path;
+       }
+
+private:
+       boost::filesystem::path _path;
 };
 
 class BadContentKindError : public DCPReadError