sqlexception.h
来自「Oracle OCI 应用」· C头文件 代码 · 共 38 行
H
38 行
/**
* 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 + =
减小字号Ctrl + -
显示快捷键?