libpqxx  4.0.1
pqxx::plpgsql_error Class Reference

PL/pgSQL error. More...

#include <except.hxx>

Inheritance diagram for pqxx::plpgsql_error:
pqxx::sql_error pqxx::failure pqxx::pqxx_exception pqxx::plpgsql_no_data_found pqxx::plpgsql_raise pqxx::plpgsql_too_many_rows

Public Member Functions

 plpgsql_error (const std::string &err)
 plpgsql_error (const std::string &err, const std::string &Q)
- Public Member Functions inherited from pqxx::sql_error
 sql_error ()
 sql_error (const std::string &)
 sql_error (const std::string &, const std::string &Q)
virtual ~sql_error () throw ()
const std::string &PQXX_PURE query () const throw ()
 The query whose execution triggered the exception.
- Public Member Functions inherited from pqxx::failure
 failure (const std::string &)
- Public Member Functions inherited from pqxx::pqxx_exception
virtual ~pqxx_exception ()=0 throw ()
 Support run-time polymorphism, and keep this class abstract.
virtual const PQXX_CONST
std::exception & 
base () const =0 throw ()
 Return std::exception base-class object.

Detailed Description

PL/pgSQL error.

Exceptions derived from this class are errors from PL/pgSQL procedures.

Constructor & Destructor Documentation

pqxx::plpgsql_error::plpgsql_error ( const std::string &  err)
explicit
pqxx::plpgsql_error::plpgsql_error ( const std::string &  err,
const std::string &  Q 
)

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