- Main Page
- Classes
- Files

- File List
- File Members

# exceptions.h File Reference

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

`#include "options.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::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::UseQueryError
| Exception thrown when something goes wrong in processing a "use" query. More...
class | mysqlpp::BadQuery
| Exception thrown when the database server encounters a problem while processing your query. More...
class | mysqlpp::ConnectionFailed
| Exception thrown when there is a problem related to the database server connection. More...
class | mysqlpp::DBSelectionFailed
| Exception thrown when the program tries to select a new database and the database server refuses for some reason. More...
class | mysqlpp::MutexFailed
| Exception thrown when a BeecryptMutex object fails. More...
class | mysqlpp::ObjectNotInitialized
| Exception thrown when you try to use an object that isn't completely initialized. More...
class | mysqlpp::SelfTestFailed
| Used within MySQL++'s test harness only. More...
class | mysqlpp::TypeLookupFailed
| Thrown from the C++ to SQL data type conversion routine when it can't figure out how to map the type. 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.