Exception that is thrown in case of a data failure (conversion, creation, ...).
More...
#include <data_exception.hpp>
Exception that is thrown in case of a data failure (conversion, creation, ...).
◆ data_exception() [1/2]
sgpp::base::data_exception::data_exception |
( |
const char * |
msg | ) |
|
throw | ( | |
| ) | | |
|
inlineexplicit |
Create a new exception (constructor) with some message.
- Parameters
-
◆ data_exception() [2/2]
sgpp::base::data_exception::data_exception |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
Create default exception (constructor).
◆ ~data_exception()
sgpp::base::data_exception::~data_exception |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inlineoverride |
◆ what()
const char* sgpp::base::data_exception::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlineoverride |
Return message of exception object.
- Returns
- Returns the message specified in the constructor, otherwise a general text
References msg.
◆ msg
const char* sgpp::base::data_exception::msg |
|
protected |
the exception message
Referenced by what().
The documentation for this class was generated from the following file: