Wt  4.0.2
Public Member Functions | List of all members
Wt::Dbo::ObjectNotFoundException Class Reference

Exception thrown when trying to load a non-existing object. More...

#include <Wt/Dbo/Exception.h>

Inheritance diagram for Wt::Dbo::ObjectNotFoundException:
Inheritance graph
[legend]

Public Member Functions

 ObjectNotFoundException (const char *table, const std::string &id)
 Constructor.
 
- Public Member Functions inherited from Wt::Dbo::Exception
 Exception (const std::string &error, const std::string &code=std::string())
 Constructor.
 
std::string code () const
 A (backend-specific) error code. More...
 

Detailed Description

Exception thrown when trying to load a non-existing object.

This Exception is thrown by Session::load() when trying to load an object that does not exist.


Generated on Fri Nov 24 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11