mongo::ExceptionInfo Struct Reference

#include <assert_util.h>

List of all members.

Public Member Functions

void append (BSONObjBuilder &b, const char *m="$err", const char *c="code") const
bool empty () const
 ExceptionInfo (const string &m, int c)
 ExceptionInfo (const char *m, int c)
 ExceptionInfo ()
string toString () const

Public Attributes

int code
string msg

Detailed Description

Definition at line 45 of file assert_util.h.


Constructor & Destructor Documentation

mongo::ExceptionInfo::ExceptionInfo (  )  [inline]

Definition at line 46 of file assert_util.h.

mongo::ExceptionInfo::ExceptionInfo ( const char *  m,
int  c 
) [inline]

Definition at line 47 of file assert_util.h.

mongo::ExceptionInfo::ExceptionInfo ( const string &  m,
int  c 
) [inline]

Definition at line 50 of file assert_util.h.


Member Function Documentation

void mongo::ExceptionInfo::append ( BSONObjBuilder b,
const char *  m = "$err",
const char *  c = "code" 
) const
bool mongo::ExceptionInfo::empty (  )  const [inline]

Definition at line 55 of file assert_util.h.

string mongo::ExceptionInfo::toString (  )  const [inline]

Definition at line 54 of file assert_util.h.


Member Data Documentation

Definition at line 58 of file assert_util.h.

Definition at line 57 of file assert_util.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:55 2013