MongoDB C++ Driver
legacy-1.1.2
|
General runtime exception generated by the MongoDB client driver. More...
#include <exceptions.h>
Public Member Functions | |
OperationException (const BSONObj &errorObj) | |
Takes a BSONObj that is the result of the "getlasterror" command. | |
virtual | ~OperationException () throw () |
Required due to BSONObj member desctructor not specifying throw() | |
const BSONObj & | obj () const |
Get the last_error object representing the operation exception. | |
General runtime exception generated by the MongoDB client driver.