projects
/
libsub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Throw a specific exception when no WEBVTT header is found.
[libsub.git]
/
src
/
exceptions.h
diff --git
a/src/exceptions.h
b/src/exceptions.h
index 1895f110433f88f389193f4a780e8f6148276354..e0d0e90a9a2d6c7a4207bb1e732e9b0415dbe229 100644
(file)
--- a/
src/exceptions.h
+++ b/
src/exceptions.h
@@
-90,6
+90,15
@@
private:
};
+class WebVTTHeaderError : public WebVTTError
+{
+public:
+ WebVTTHeaderError()
+ : WebVTTError("No WEBVTT header found")
+ {}
+};
+
+
class SSAError : public std::runtime_error
{
public: