#include <Pt/Db/DbError.h>
Thrown when a query is invalid.
Inherits QueryFailed.
|
|
| InvalidQuery (const std::string &what, const std::string &statement) |
| | Constructs the error with what and the failing statement.
|
|
| ~InvalidQuery () throw () |
| | Destructor.
|
|
const std::string & | statement () const |
| | Returns the SQL statement that caused the error.
|