summaryrefslogtreecommitdiff
path: root/src/exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.cc')
-rw-r--r--src/exceptions.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc
index b541beda..fbd8c85f 100644
--- a/src/exceptions.cc
+++ b/src/exceptions.cc
@@ -96,3 +96,9 @@ KDMDecryptionError::KDMDecryptionError (std::string message)
{
}
+
+KDMFormatError::KDMFormatError (std::string message)
+ : runtime_error (String::compose ("Could not parse KDM (%1)", message))
+{
+
+}