abexception.h
来自「miXo is a buzz machine (www.buzzmachines」· C头文件 代码 · 共 29 行
H
29 行
#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 + =
减小字号Ctrl + -
显示快捷键?