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