MongoDB C++ Driver legacy-1.1.2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mongo::OperationException Class Reference

General runtime exception generated by the MongoDB client driver. More...

#include <exceptions.h>

+ Inheritance diagram for mongo::OperationException:

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 BSONObjobj () const
 Get the last_error object representing the operation exception.
 

Detailed Description

General runtime exception generated by the MongoDB client driver.


The documentation for this class was generated from the following file: