#include <RdbException.h>
Public Member Functions | |
virtual int | getCode () const |
virtual int | getCode () const |
virtual std::string | getMsg () |
virtual std::string | getMsg () |
RdbException (const std::string &extraInfo="", int code=0) | |
RdbException (const std::string &extraInfo="", int code=0) | |
virtual const char * | what () |
virtual const char * | what () |
virtual | ~RdbException () throw () |
virtual | ~RdbException () throw () |
Protected Attributes | |
std::string | m_name |
Private Attributes | |
int | m_code |
std::string | m_extra |
|
|
|
00013 {}
|
|
|
|
00013 {}
|
|
00017 { return m_code;}
|
|
00017 { return m_code;}
|
|
00014 { 00015 std::string msg = m_name + ": " + m_extra; 00016 return msg;}
|
|
00014 { 00015 std::string msg = m_name + ": " + m_extra; 00016 return msg;}
|
|
00018 { 00019 return m_extra.c_str(); 00020 }
|
|
00018 { 00019 return m_extra.c_str(); 00020 }
|
|
|
|
|
|
|