diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-24 12:47:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-24 12:47:36 +0100 |
| commit | 98c2cae73faf52dc346758e893f7e38d2c349c03 (patch) | |
| tree | f54f9d62ac94960586c1f6ff999838ec25f5a240 /src/exceptions.cc | |
| parent | 14fe126396241dc1bde571bd57e76e82f8cf4240 (diff) | |
Better exception when loading a KDM fails.
Diffstat (limited to 'src/exceptions.cc')
| -rw-r--r-- | src/exceptions.cc | 6 |
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)) +{ + +} |
