22#include "mongo/util/assert_util.h"
44 const std::string _errorString;
C++ representation of a "BSON" object – that is, an extended JSON-style object in a binary representa...
Definition bsonobj.h:78
Most mongo exceptions inherit from this; this is commonly caught in most threads.
Definition assert_util.h:87
General runtime exception generated by the MongoDB client driver.
Definition exceptions.h:29
virtual ~OperationException()
Required due to BSONObj member desctructor not specifying throw()
OperationException(const BSONObj &errorObj)
Takes a BSONObj that is the result of the "getlasterror" command.
the main MongoDB namespace
Definition bulk_operation_builder.h:24