TypeMismatch Class Reference

#include <Pt/Db/DbError.h>

Thrown on type mismatch, null access, or out-of-range values.

Inherits QueryFailed.

Public Member Functions

 TypeMismatch (const std::string &what, const std::string &statement)
 Constructs the error with what and the failing statement.
 ~TypeMismatch () throw ()
 Destructor.
const std::string & statement () const
 Returns the SQL statement that caused the error.