Wt  4.11.1
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:
[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.