#include <exceptions.h>
Inheritance diagram for mysqlpp::BadOption:
Public Member Functions | |
BadOption (const char *w, const std::type_info &ti) | |
Create exception object, taking C string. | |
BadOption (const std::string &w, const std::type_info &ti) | |
Create exception object, taking C++ string. | |
const std::type_info & | what_option () const |
Return type information about the option that failed. |
const std::type_info& mysqlpp::BadOption::what_option | ( | ) | const [inline] |
Return type information about the option that failed.
Because each option has its own C++ type, this lets you distinguish among BadOption exceptions programmatically.