exceptions.h File Reference

Declares the MySQL++-specific exception classes. More...

#include "connection.h"
#include <exception>
#include <string>

Include dependency graph for exceptions.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mysqlpp

Classes

class  mysqlpp::Exception
 Base class for all MySQL++ custom exceptions. More...
class  mysqlpp::BadConversion
 Exception thrown when a bad type conversion is attempted. More...
class  mysqlpp::BadFieldName
 Exception thrown when a requested named field doesn't exist. More...
class  mysqlpp::BadNullConversion
 Exception thrown when you attempt to convert a SQL null to an incompatible type. More...
class  mysqlpp::BadOption
 Exception thrown when you pass an unrecognized option to Connection::set_option(). More...
class  mysqlpp::BadParamCount
 Exception thrown when not enough query parameters are provided. More...
class  mysqlpp::BadQuery
 Exception thrown when MySQL encounters a problem while processing your query. More...
class  mysqlpp::ConnectionFailed
 Exception thrown when there is a problem establishing the database server connection. It's also thrown if Connection::shutdown() fails. More...
class  mysqlpp::DBSelectionFailed
 Exception thrown when the program tries to select a new database and the server refuses for some reason. More...
class  mysqlpp::EndOfResults
 Exception thrown when ResUse::fetch_row() walks off the end of a use-query's result set. More...
class  mysqlpp::EndOfResultSets
 Exception thrown when Query::store_next() walks off the end of a use-query's multi result sets. More...
class  mysqlpp::LockFailed
 Exception thrown when a Lockable object fails. More...
class  mysqlpp::ObjectNotInitialized
 Exception thrown when you try to use an object that isn't completely initialized. More...


Detailed Description

Declares the MySQL++-specific exception classes.

When exceptions are enabled for a given mysqlpp::OptionalExceptions derivative, any of these exceptions can be thrown on error.


Generated on Tue Jan 23 12:05:16 2007 for MySQL++ by  doxygen 1.5.1-3