Exception thrown when a bad type conversion is attempted.
More...
#include <exceptions.h>
|
| BadConversion (const char *tn, const char *d, size_t r, size_t a) |
| Create exception object, building error string dynamically. More...
|
|
| BadConversion (const std::string &w, const char *tn, const char *d, size_t r, size_t a) |
| Create exception object, given completed error string. More...
|
|
| BadConversion (const char *w="") |
| Create exception object, with error string only. More...
|
|
| ~BadConversion () throw () |
| Destroy exception.
|
|
| Exception (const Exception &e) MAY_THROW() |
| Create exception object as copy of another.
|
|
Exception & | operator= (const Exception &rhs) throw () |
| Assign another exception object's contents to this one.
|
|
| ~Exception () throw () |
| Destroy exception object.
|
|
virtual const char * | what () const throw () |
| Returns explanation of why exception was thrown.
|
|
|
const char * | type_name |
| name of type we tried to convert to
|
|
std::string | data |
| string form of data we tried to convert
|
|
size_t | retrieved |
| documentation needed!
|
|
size_t | actual_size |
| documentation needed!
|
|
|
| Exception (const char *w="") throw () |
| Create exception object.
|
|
| Exception (const std::string &w) throw () |
| Create exception object.
|
|
std::string | what_ |
| explanation of why exception was thrown
|
|
Exception thrown when a bad type conversion is attempted.
◆ BadConversion() [1/3]
mysqlpp::BadConversion::BadConversion |
( |
const char * |
tn, |
|
|
const char * |
d, |
|
|
size_t |
r, |
|
|
size_t |
a |
|
) |
| |
|
inline |
Create exception object, building error string dynamically.
- Parameters
-
tn | type name we tried to convert to |
d | string form of data we tried to convert |
r | ?? |
a | ?? |
◆ BadConversion() [2/3]
mysqlpp::BadConversion::BadConversion |
( |
const std::string & |
w, |
|
|
const char * |
tn, |
|
|
const char * |
d, |
|
|
size_t |
r, |
|
|
size_t |
a |
|
) |
| |
|
inline |
Create exception object, given completed error string.
- Parameters
-
w | the "what" error string |
tn | type name we tried to convert to |
d | string form of data we tried to convert |
r | ?? |
a | ?? |
◆ BadConversion() [3/3]
mysqlpp::BadConversion::BadConversion |
( |
const char * |
w = "" | ) |
|
|
inlineexplicit |
Create exception object, with error string only.
- Parameters
-
All other data members are initialize to default values
The documentation for this class was generated from the following file: