📄 err.h
字号:
/*************************************************************************** DSemu - The Next Generation ** Error handling: Exception class definition [err.h] ** Copyright Imran Nazar, 2005; released under the BSD public licence. ***************************************************************************/#ifndef __ERR_H_#define __ERR_H_#include <string>#define ERR_UNKNOWN 0x0001class Exception{ // An exception can be generated on type alone, or on // type/module/message. public: Exception(); Exception(int); Exception(int, std::string, std::string); void Report(); void Log(); private: int type; std::string module; std::string msg;};#endif//__ERR_H_/*** EOF: err.h **********************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -