📄 sqlexception.h
字号:
/**
* SqlException.h
*
* @author aizy
* @date 2004-11-25
*/
#ifndef _DB_SQL_EXCEPTION_H_
#define _DB_SQL_EXCEPTION_H_
#include <string>
namespace db {
/**
* 数据库访问异常
*/
class SqlException
{
public:
SqlException(){};
explicit SqlException(const std::string &description);
virtual ~SqlException();
protected:
std::string m_description;
public:
const std::string & GetDescription() const{
return m_description;
};
};
}
#endif // _DB_SQL_EXCEPTION_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -