summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-09-07 17:28:30 +0100
committerCarl Hetherington <cth@carlh.net>2012-09-07 17:28:30 +0100
commita680f27bddf78d7dcbe52ddb4f8e3e9194d85fd5 (patch)
tree6a39e47781577278dca9c6e44bdfc236c2d65e26 /src/exceptions.h
parentd406283ff669a33973b43839da6200d972d25f2a (diff)
Tweaks to dcpinfo.
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
{