#include <exceptions.h>
Inheritance diagram for mysqlpp::TypeLookupFailed:
Public Member Functions | |
TypeLookupFailed (const std::string &w) | |
Create exception object. |
This exception is not optional. The only alternatives when this happens are equally drastic: basically, either iterate past the end of an array (crashing the program) or call assert() to crash the program nicely. At least this way you have some control over how your program ends. You can even ignore the error and keep on going: this typically happens when building a SQL query, so you can handle it just the same as if the subsequent query execution failed.