summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-11 14:04:58 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-11 14:04:58 +0000
commit3af978d2d688cb1e4be7c8d95155a6b8cc7456a3 (patch)
treefdb7f3fe7eea7a433d38d14307e78731d1e49dc2 /src/lib/exceptions.h
parent0523d4a83d7d334560d261686bdb329eea8bfb96 (diff)
Various work on SubRip.
Diffstat (limited to 'src/lib/exceptions.h')
-rw-r--r--src/lib/exceptions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h
index c1240538f..61163c8d1 100644
--- a/src/lib/exceptions.h
+++ b/src/lib/exceptions.h
@@ -230,6 +230,13 @@ public:
PixelFormatError (std::string o, AVPixelFormat f);
};
+/** An error that occurs while parsing a SubRip file */
+class SubRipError : public FileError
+{
+public:
+ SubRipError (std::string, std::string, boost::filesystem::path);
+};
+
/** A parent class for classes which have a need to catch and
* re-throw exceptions. This is intended for classes
* which run their own thread; they should do something like