#include <RdbException.h>
Definition at line 8 of file RdbException.h.
◆ RdbException()
rdbModel::RdbException::RdbException |
( |
const std::string & |
extraInfo = "" , |
|
|
int |
code = 0 |
|
) |
| |
|
inline |
Definition at line 10 of file RdbException.h.
10 :
11 std::exception(),
12 m_name(
"RdbException"), m_extra(extraInfo), m_code(code) {}
◆ ~RdbException()
virtual rdbModel::RdbException::~RdbException |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inlinevirtual |
◆ getCode()
virtual int rdbModel::RdbException::getCode |
( |
| ) |
const |
|
inlinevirtual |
◆ getMsg()
virtual std::string rdbModel::RdbException::getMsg |
( |
| ) |
|
|
inlinevirtual |
◆ what()
virtual const char * rdbModel::RdbException::what |
( |
| ) |
|
|
inlinevirtual |
Definition at line 18 of file RdbException.h.
18 {
19 return m_extra.c_str();
20 }
◆ m_name
std::string rdbModel::RdbException::m_name |
|
protected |
The documentation for this class was generated from the following file: