An serializable exception class.
More...
#include <sql_exception.hpp>
Inherits std::exception.
An serializable exception class.
This kind of exception is thrown, when an serializable dealing error occurs.
◆ sql_exception() [1/2]
matador::sql_exception::sql_exception |
( |
const char * |
source, |
|
|
const char * |
what |
|
) |
| |
|
inline |
Creates a database_exception
- Parameters
-
source | The source of the exception. |
what | The message of the exception. |
◆ sql_exception() [2/2]
matador::sql_exception::sql_exception |
( |
std::string |
source, |
|
|
std::string |
what |
|
) |
| |
|
inline |
Creates a database_exception
- Parameters
-
source | The source of the exception. |
what | The message of the exception. |
◆ source()
const char * matador::sql_exception::source |
( |
| ) |
const |
|
inline |
Returns the source of the exception
- Returns
- The source of this exception.
◆ what()
const char * matador::sql_exception::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
Returns the message of the exception
- Returns
- The message of this exception.
The documentation for this class was generated from the following file:
- matador/sql/sql_exception.hpp