Remoto - VFS: VFS_mongo_entryException Class Reference
Remoto - VFS
VFS_mongo_entryException Class Reference

A subclass of VFS_mongo_exception signalling a problem with the path of a read or write operation. More...

#include <VFS_mongo.h>

Inheritance diagram for VFS_mongo_entryException:
VFS_mongo_exception

Public Member Functions

 VFS_mongo_entryException (QString m)
 VFS_mongo_entryException constructor. More...
 
virtual ~VFS_mongo_entryException () throw ()
 
- Public Member Functions inherited from VFS_mongo_exception
 VFS_mongo_exception (QString m)
 VFS_mongo_exception constructor. More...
 
virtual ~VFS_mongo_exception () throw ()
 
virtual const char * what () const throw ()
 Fetch the exception message, in the style of std::exception. More...
 

Additional Inherited Members

- Protected Attributes inherited from VFS_mongo_exception
QString _message
 This exception's message. More...
 

Detailed Description

A subclass of VFS_mongo_exception signalling a problem with the path of a read or write operation.

Parameters
mThe exception message

Generally, requests to VFS_mongo will require a path with two components, in the form of "collection/_id". This exception means that the entry referred to by the path does not exist. This is used for delete or write operations, where the entry needs to exist to succeed.

See also
VFS_mongo::readDocument()
VFS_mongo::writeDocument()
VFS_mongo::removeDocument()

Definition at line 105 of file VFS_mongo.h.

Constructor & Destructor Documentation

◆ VFS_mongo_entryException()

VFS_mongo_entryException::VFS_mongo_entryException ( QString  m)
explicit

VFS_mongo_entryException constructor.

Parameters
mThe exception message

Definition at line 1102 of file VFS_mongo.cpp.

◆ ~VFS_mongo_entryException()

VFS_mongo_entryException::~VFS_mongo_entryException ( )
throw (
)
virtual

Definition at line 1104 of file VFS_mongo.cpp.


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