MongoDB  2.7.0
Public Member Functions | List of all members
mongo::UserException Class Reference
Inheritance diagram for mongo::UserException:
mongo::AssertionException mongo::DBException mongo::ConnectException mongo::UpdateNotTheSame

Public Member Functions

 UserException (int c, const std::string &m)
 
virtual bool severe () const
 
virtual bool isUserAssertion () const
 
virtual void appendPrefix (std::stringstream &ss) const
 
- Public Member Functions inherited from mongo::AssertionException
 AssertionException (const ExceptionInfo &ei)
 
 AssertionException (const char *msg, int code)
 
 AssertionException (const std::string &msg, int code)
 
- Public Member Functions inherited from mongo::DBException
 DBException (const ExceptionInfo &ei)
 
 DBException (const char *msg, int code)
 
 DBException (const std::string &msg, int code)
 
virtual const char * what () const throw ()
 
virtual int getCode () const
 
virtual void addContext (const std::string &str)
 
Status toStatus (const std::string &context) const
 
Status toStatus () const
 
virtual std::string toString () const
 
const ExceptionInfogetInfo () const
 

Additional Inherited Members

- Static Public Member Functions inherited from mongo::DBException
static ErrorCodes::Error convertExceptionCode (int exCode)
 
- Public Attributes inherited from mongo::DBException
std::string _shard
 
- Static Public Attributes inherited from mongo::DBException
static bool traceExceptions = false
 
- Protected Attributes inherited from mongo::DBException
ExceptionInfo _ei
 

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