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.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/exceptions.h') 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 -- cgit v1.2.3