Inheritance diagram for mysqlpp::DBSelectionFailed:
Public Member Functions
|DBSelectionFailed (const char *w="", int e=0)|
|Create exception object. |
|int||errnum () const|
|Return the error number corresponding to the error message returned by what(), if any. |
|mysqlpp::DBSelectionFailed::DBSelectionFailed||(||const char *|| w =
|int|| e = |
Create exception object.
|w||explanation for why the exception was thrown|
|e||the error number from the underlying database API|
|int mysqlpp::DBSelectionFailed::errnum||(||)|| const
Return the error number corresponding to the error message returned by what(), if any.
If the error number is 0, it means that the error message doesn't come from the underlying database API, but rather from MySQL++ itself. This happens when an error condition is detected up at this higher level instead of letting the underlying database API do it.