summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/exceptions.cc3
-rw-r--r--src/exceptions.h9
2 files changed, 11 insertions, 1 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc
index 0256c2b5..70320b52 100644
--- a/src/exceptions.cc
+++ b/src/exceptions.cc
@@ -137,3 +137,6 @@ CombineError::CombineError (string message)
: runtime_error (message)
{}
+LanguageTagError::LanguageTagError (std::string message)
+ : runtime_error (message)
+{}
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