libpqxx  v4.0-1
C++ library for PostgreSQL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pqxx::quiet_errorhandler Class Reference

An error handler that suppresses any previously registered error handlers. More...

#include <errorhandler.hxx>

Inheritance diagram for pqxx::quiet_errorhandler:
Collaboration diagram for pqxx::quiet_errorhandler:

Public Member Functions

 quiet_errorhandler (connection_base &conn)
 
virtual bool operator() (const char[]) throw ()
 Define in subclass: receive an error or warning message from the database. More...
 

Detailed Description

An error handler that suppresses any previously registered error handlers.

Constructor & Destructor Documentation

pqxx::quiet_errorhandler::quiet_errorhandler ( connection_base conn)
inline

Member Function Documentation

virtual bool pqxx::quiet_errorhandler::operator() ( const char  msg[]) throw ()
inlinevirtual

Define in subclass: receive an error or warning message from the database.

Returns
Whether the same error message should also be passed to the remaining, older errorhandlers.

Implements pqxx::errorhandler.


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