summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-14 17:39:32 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-20 11:20:25 +0000
commit3f630fb8334238ab8a58fbe1a0f513ae2c00de80 (patch)
tree4b773b91029d6374bfd4f2194053d3e249d597cd /src/exceptions.h
parent49cafda01b3e07c47e3b20dd5ee91e1426446aea (diff)
Simplify time representation; better in-tree DCP subtitle parser.
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index a0ca1b9..62be0d5 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -75,6 +75,30 @@ public:
{}
};
+class MXFError : public MessageError
+{
+public:
+ MXFError (std::string const & message)
+ : MessageError (message)
+ {}
+};
+
+class UnknownFrameRateError : public MessageError
+{
+public:
+ UnknownFrameRateError ()
+ : MessageError ("unknown frame rate")
+ {}
+};
+
+class DCPError : public MessageError
+{
+public:
+ DCPError (std::string const & message)
+ : MessageError (message)
+ {}
+};
+
}
#endif