#include <Pt/Db/DbError.h>
Base class for query errors.
Inherits DbError.
Inherited by ConstraintMismatch, InvalidQuery, and TypeMismatch.
|
|
| QueryFailed (const std::string &what, const std::string &statement) |
| | Constructs the error with what and the failing statement.
|
|
| ~QueryFailed () throw () |
| | Destructor.
|
|
const std::string & | statement () const |
| | Returns the SQL statement that caused the error.
|