Give better errors when invalid urn:uuid: strings are found (DoM #2521).
[libdcp.git] / src / exceptions.h
index 99e55b2878ab1cd784da76d47c963f31427ad0e7..8d85f02a02557b580ef0500800cc4550c8db8fd6 100644 (file)
@@ -323,6 +323,14 @@ public:
        InconsistentValidityPeriodError();
 };
 
+
+class BadURNUUIDError : public std::runtime_error
+{
+public:
+       BadURNUUIDError(std::string bad_id);
+};
+
+
 }