#include <assert_util.h>
Public Member Functions | |
virtual void | appendPrefix (stringstream &ss) const |
DBException (const string &msg, int code) | |
DBException (const char *msg, int code) | |
DBException (const ExceptionInfo &ei) | |
virtual int | getCode () const |
const ExceptionInfo & | getInfo () const |
virtual string | toString () const |
virtual const char * | what () const throw () |
virtual | ~DBException () throw () |
Protected Attributes | |
ExceptionInfo | _ei |
Definition at line 61 of file assert_util.h.
mongo::DBException::DBException | ( | const ExceptionInfo & | ei | ) | [inline] |
Definition at line 63 of file assert_util.h.
mongo::DBException::DBException | ( | const char * | msg, | |
int | code | |||
) | [inline] |
Definition at line 64 of file assert_util.h.
mongo::DBException::DBException | ( | const string & | msg, | |
int | code | |||
) | [inline] |
Definition at line 65 of file assert_util.h.
virtual mongo::DBException::~DBException | ( | ) | throw () [inline, virtual] |
Definition at line 66 of file assert_util.h.
virtual void mongo::DBException::appendPrefix | ( | stringstream & | ss | ) | const [inline, virtual] |
Reimplemented in mongo::StaleConfigException, mongo::UserException, and mongo::MsgAssertionException.
Definition at line 71 of file assert_util.h.
virtual int mongo::DBException::getCode | ( | ) | const [inline, virtual] |
Definition at line 69 of file assert_util.h.
const ExceptionInfo& mongo::DBException::getInfo | ( | ) | const [inline] |
Definition at line 78 of file assert_util.h.
virtual string mongo::DBException::toString | ( | ) | const [inline, virtual] |
Reimplemented in mongo::SocketException.
Definition at line 73 of file assert_util.h.
virtual const char* mongo::DBException::what | ( | ) | const throw () [inline, virtual] |
Definition at line 68 of file assert_util.h.
ExceptionInfo mongo::DBException::_ei [protected] |
Definition at line 81 of file assert_util.h.