#pragma once #include #include #define ThrowNotFound(msg) throw NotFoundException(msg, __FUNCTION__) #define ThrowNotFound_F(msg, ...) throw NotFoundException(StringUtil::Format(msg, __VA_ARGS__), __FUNCTION__) class NotFoundException : public LTCException { public: NotFoundException(const std::string& message, const std::string& function) : LTCException("NotFoundException", message, function) { } };