X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fexceptions.h;h=4c53a66dd1664c10d1dc1352ac99306f71cbcfdd;hb=5fdaf6d2cf0377d7a326063065c6af5adbf68a92;hp=cd3c5cdb9b79a92e9fa8f13e7849e238ffeb74fe;hpb=9a9d4e014c16be88d72914a9480343445bc785a5;p=libdcp.git diff --git a/src/exceptions.h b/src/exceptions.h index cd3c5cdb..4c53a66d 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -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 {