📄 abexception.h
字号:
#ifndef __ABEXCEPTION_H
#define __ABEXCEPTION_H
#include <exception>
#include <string>
#include <limits.h>
using namespace std;
class CAbException : public exception
{
unsigned m_uError;
string m_strFile;
unsigned m_uLine;
bool m_bSystem;
public:
CAbException() throw();
CAbException(unsigned u) throw();
CAbException(unsigned u,const char *f,unsigned l,bool bSystem=true) throw();
virtual ~CAbException() {};
virtual const char *what() const throw() { return "CAbException"; }
virtual string GetMessage() const;
typedef enum {
err_NoError = LONG_MAX/2,
err_Unknown,
err_ResourceLeak,
err_LastAbException
}EErrorTypes;
void DebugOutput();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -