ex_base.h
来自「有关MYSQL的开源码」· C头文件 代码 · 共 34 行
H
34 行
// ex_base.h: interface for the ex_base class.
//
//////////////////////////////////////////////////////////////////////
#ifndef MYSQLCPPAPI_EX_BASE_H
#define MYSQLCPPAPI_EX_BASE_H
#include <string>
#include <exception>
namespace mysqlcppapi
{
class ex_base : public std::exception
{
public:
ex_base() throw();
ex_base(const std::string& src) throw();
ex_base(const ex_base& src) throw();
ex_base& operator=(const ex_base& src);
virtual ~ex_base() throw();
virtual const char* what() const throw();
protected:
std::string m_strMessage;
};
} //namespace
#endif // MYSQLCPPAPI_EX_BASE_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?