summaryrefslogtreecommitdiff
path: root/src/exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.cc')
-rw-r--r--src/exceptions.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc
index e9cdcef1..7516d085 100644
--- a/src/exceptions.cc
+++ b/src/exceptions.cc
@@ -110,7 +110,7 @@ KDMFormatError::KDMFormatError (std::string message)
}
-CertificateChainError::CertificateChainError (std::string message)
+CertificateChainError::CertificateChainError (string message)
: runtime_error (message)
{
@@ -123,3 +123,9 @@ DCPReadError::DCPReadError (string message, string detail)
{
}
+
+MissingSubtitleImageError::MissingSubtitleImageError (string id)
+ : runtime_error (String::compose("Could not load image for subtitle %1", id))
+{
+
+}