#define _CRT_SECURE_NO_DEPRECATE #define STRICT #define WIN32_LEAN_AND_MEAN #include #include #include #include #include using namespace std; #include #define ZGRP_LOG_FILE_NAME "zgrp_err_log.txt" namespace KException { class ZGrpException : public KExceptionAbstract { protected: public: ZGrpException(); ZGrpException(int, string); ZGrpException(ZGrpException&); ~ZGrpException(); template void SetErrCode(int); template void SetErrString(string); //template //void SetErrDescription(T); void ConstructErrorMsg(void); void DisplayErrorMsg(void); void WriteErrorMsg(void); //template //void Test(T test_val, const string file_name, const int line_num, const string func_name); }; template void ZGrpException:: SetErrCode(int code) { err_code = code; } template void ZGrpException:: SetErrString(string s) { err_string = s; } } // namespace KException