From 98c2cae73faf52dc346758e893f7e38d2c349c03 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 24 May 2017 12:47:36 +0100 Subject: Better exception when loading a KDM fails. --- src/exceptions.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/exceptions.cc') 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)) +{ + +} -- cgit v1.2.3