Re-make expired test certificate chain.
[libdcp.git] / src / exceptions.h
index 48961073cf1138d4832816789bd2fbd2727266a2..99e55b2878ab1cd784da76d47c963f31427ad0e7 100644 (file)
@@ -147,6 +147,16 @@ public:
 };
 
 
+/** @class MissingAssetmapError
+ *  @brief Thrown when no ASSETMAP was found when trying to read a DCP
+ */
+class MissingAssetmapError : public ReadError
+{
+public:
+       explicit MissingAssetmapError (boost::filesystem::path dir);
+};
+
+
 /** @class XMLError
  *  @brief An XML error
  */
@@ -307,6 +317,12 @@ public:
 };
 
 
+class InconsistentValidityPeriodError : public std::runtime_error
+{
+public:
+       InconsistentValidityPeriodError();
+};
+
 }