summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-23 22:06:00 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-20 19:30:28 +0200
commit1ca864c987c704e66486027570cf689f9508c303 (patch)
tree3e3398dc9e15e33df9404176627613f82640ea25 /src/exceptions.h
parent026204a2c818c56fc391ab5b15f0af16b10babab (diff)
Add a new exception for problems with LanguageTag.
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 1fb5e4e7..79ee9fca 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2020 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -247,6 +247,13 @@ public:
explicit CombineError (std::string message);
};
+
+class LanguageTagError : public std::runtime_error
+{
+public:
+ LanguageTagError (std::string message);
+};
+
}
#endif