Merge branch 'master' of ssh://carlh.dnsalias.org/home/carl/git/libdcp
[libdcp.git] / src / exceptions.h
index cd3c5cdb9b79a92e9fa8f13e7849e238ffeb74fe..4c53a66dd1664c10d1dc1352ac99306f71cbcfdd 100644 (file)
@@ -55,7 +55,15 @@ private:
        std::string _filename;
 };
 
-
+/** @brief An exception related to an MXF file */
+class MXFFileError : public FileError
+{
+public:
+       MXFFileError (std::string const & message, std::string const & filename)
+               : FileError (message, filename)
+       {}
+};
+       
 /** @brief A miscellaneous exception */
 class MiscError : public std::exception
 {