summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-05-24 12:47:36 +0100
committerCarl Hetherington <cth@carlh.net>2017-05-24 12:47:36 +0100
commit98c2cae73faf52dc346758e893f7e38d2c349c03 (patch)
treef54f9d62ac94960586c1f6ff999838ec25f5a240 /src/exceptions.h
parent14fe126396241dc1bde571bd57e76e82f8cf4240 (diff)
Better exception when loading a KDM fails.
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h6
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