Wt: Wt::Dbo::ObjectNotFoundException Class Reference

Wt 4.10.4

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Wt::Dbo::ObjectNotFoundException Class Reference
Database Objects (Wt::Dbo)

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.

## 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.