Exception thrown when a dimension problem occured.
More...
#include <Bpp/Numeric/VectorExceptions.h>
Exception thrown when a dimension problem occured.
Definition at line 42 of file VectorExceptions.h.
◆ DimensionException()
bpp::DimensionException::DimensionException |
( |
const std::string & |
text, |
|
|
size_t |
dimension, |
|
|
size_t |
correctDimension |
|
) |
| |
|
inline |
◆ getCorrectDimension()
size_t bpp::DimensionException::getCorrectDimension |
( |
| ) |
const |
|
inline |
◆ getDimension()
size_t bpp::DimensionException::getDimension |
( |
| ) |
const |
|
inline |
◆ message()
const std::string & bpp::Exception::message |
( |
| ) |
const |
|
noexceptinherited |
◆ what()
const char * bpp::Exception::what |
( |
| ) |
const |
|
overridenoexceptinherited |
Method to get the message of the exception (STL method redefinition).
- Returns
- The message passed to the exception hierarchy.
Definition at line 78 of file Exceptions.cpp.
References bpp::Exception::message_.
◆ correctDimension_
std::size_t bpp::DimensionException::correctDimension_ |
|
private |
◆ dimension_
std::size_t bpp::DimensionException::dimension_ |
|
private |
The documentation for this class was generated from the following file: