Wt  4.11.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Wt::Dbo::NoUniqueResultException Class Reference

Exception thrown when a query unexpectedly finds a non-unique result. More...

#include <Wt/Dbo/Exception.h>

Inheritance diagram for Wt::Dbo::NoUniqueResultException:
[legend]

Public Member Functions

 NoUniqueResultException ()
 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 a query unexpectedly finds a non-unique result.

This Exception is thrown by Query::resultValue() when the query has more than one result.