#pragma once
#include <string>
#ifndef __FUNCTION__
#define __FUNCTION__ "Global"
#endif
#pragma warning (disable : 4290) ///< 屏蔽 4290 警告 因为微软的c++ 编译器没有支持 这个规范
#define ThrowException(Descript,code) throw Exception_CH(Descript,code,__FILE__, __FUNCTION__ ,__LINE__)
#define ThrowException0(Descript) throw Exception_CH(Descript,Exception_CH::NON,__FILE__, __FUNCTION__ ,__LINE__)
#define ThrowException1(code) throw Exception_CH("",code,__FILE__, __FUN......
阅读全文