Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

mysqlpp::BadFieldName Class Reference

Exception thrown when a requested named field doesn't exist. More...

#include <exceptions.h>

Collaboration diagram for mysqlpp::BadFieldName:

Collaboration graph
[legend]
List of all members.

Public Methods

 BadFieldName (const char *bad_field)
 Create exception object.

 ~BadFieldName () throw ()
 Destroy exception object.

virtual const char * what () const throw ()
 Returns the error message.


Detailed Description

Exception thrown when a requested named field doesn't exist.

Thrown by Row::lookup_by_name() when you pass a field name that isn't in the result set.


Constructor & Destructor Documentation

mysqlpp::BadFieldName::BadFieldName const char *    bad_field [inline]
 

Create exception object.

Parameters:
bad_field  name of field the MySQL server didn't like


The documentation for this class was generated from the following file:
Generated on Thu May 26 09:40:28 2005 for MySQL++ by doxygen1.2.18