bpp-core3
3.0.0
|
Exception thrown when a dimension problem occured. More...
#include <Bpp/Numeric/VectorExceptions.h>
Public Member Functions | |
DimensionException (const std::string &text, size_t dimension, size_t correctDimension) | |
size_t | getDimension () const |
size_t | getCorrectDimension () const |
const char * | what () const noexcept override |
Method to get the message of the exception (STL method redefinition). More... | |
const std::string & | message () const noexcept |
Access the message as a std::string. More... | |
Private Attributes | |
std::size_t | dimension_ |
std::size_t | correctDimension_ |
std::string | message_ |
Exception thrown when a dimension problem occured.
Definition at line 80 of file VectorExceptions.h.
|
inline |
Definition at line 87 of file VectorExceptions.h.
|
inline |
Definition at line 94 of file VectorExceptions.h.
References correctDimension_.
|
inline |
Definition at line 93 of file VectorExceptions.h.
References dimension_.
|
noexceptinherited |
Access the message as a std::string.
Definition at line 119 of file Exceptions.cpp.
References bpp::Exception::message_.
|
overridenoexceptinherited |
Method to get the message of the exception (STL method redefinition).
Definition at line 118 of file Exceptions.cpp.
References bpp::Exception::message_.
|
private |
Definition at line 84 of file VectorExceptions.h.
Referenced by getCorrectDimension().
|
private |
Definition at line 83 of file VectorExceptions.h.
Referenced by getDimension().
|
privateinherited |
Definition at line 61 of file Exceptions.h.
Referenced by bpp::Exception::Exception(), bpp::Exception::message(), and bpp::Exception::what().