Allow DCP reading to continue even with empty <Path> nodes in ASSETMAP.
[libdcp.git] / src / exceptions.h
index 65271c1618fc233af9c3ed18710abef97721e90f..1e9bd2d7cad23e07d75d739cc1f3696d2ddc8db7 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
 
     This file is part of libdcp.
 
@@ -228,6 +228,12 @@ public:
        MissingSubtitleImageError (std::string id);
 };
 
+class EmptyAssetPathError : public DCPReadError
+{
+public:
+       EmptyAssetPathError (std::string id);
+};
+
 }
 
 #endif