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.h | |
| parent | 14fe126396241dc1bde571bd57e76e82f8cf4240 (diff) | |
Better exception when loading a KDM fails.
Diffstat (limited to 'src/exceptions.h')
| -rw-r--r-- | src/exceptions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h index 2688ee86..ed77ae3a 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -179,6 +179,12 @@ public: KDMDecryptionError (std::string message); }; +class KDMFormatError : public std::runtime_error +{ +public: + KDMFormatError (std::string message); +}; + } #endif |
