X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fexcept.h;fp=source%2Fcore%2Fexcept.h;h=a18e028730aedddac1d044de1b98b4fa36edea21;hb=9de64375e03b24ea46d36cec222150754e3818cb;hp=d030c41c12937e1a3846ce819c445cd2b953e308;hpb=ce8b99f8d48b7783fd97f3959198f9c54cebec72;p=libs%2Fcore.git diff --git a/source/core/except.h b/source/core/except.h index d030c41..a18e028 100644 --- a/source/core/except.h +++ b/source/core/except.h @@ -46,6 +46,10 @@ class KeyError: public Exception { public: KeyError(const std::string &w_): Exception(w_) { } + KeyError(const std::string &w_, const std::string &k) { } + const std::string &get_key() const { return key; } +private: + std::string key; }; /**