tntdb::SqlError Class Reference

Exception thrown when the execution of an SQL statement caused an error. More...

#include <tntdb/error.h>

Inheritance diagram for tntdb::SqlError:
tntdb::Error tntdb::postgresql::PgSqlError

Public Member Functions

 SqlError (const std::string &sql_, const std::string &msg="sql error")
 ~SqlError () throw ()
const std::string & getSql () const
- Public Member Functions inherited from tntdb::Error
 Error (const std::string &msg)
 Constructor.

Detailed Description

Exception thrown when the execution of an SQL statement caused an error.

Constructor & Destructor Documentation

tntdb::SqlError::SqlError ( const std::string &  sql_,
const std::string &  msg = "sql error" 
)
explicit
tntdb::SqlError::~SqlError ( ) throw ()
inline

Member Function Documentation

const std::string& tntdb::SqlError::getSql ( ) const
inline

The documentation for this class was generated from the following file: