summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index cd3c5cdb..25e51c9e 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -55,7 +55,14 @@ private:
std::string _filename;
};
-
+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
{