bpp-core
2.2.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) | |
virtual | ~DimensionException () throw () |
virtual size_t | getDimension () const |
virtual size_t | getCorrectDimension () const |
const char * | what () const throw () |
Method to get the message of the exception (STL method redefinition). More... | |
Protected Attributes | |
std::string | message_ |
Private Attributes | |
size_t | dimension_ |
size_t | correctDimension_ |
Exception thrown when a dimension problem occured.
Definition at line 101 of file VectorExceptions.h.
|
inline |
Definition at line 109 of file VectorExceptions.h.
|
inlinevirtual |
Definition at line 114 of file VectorExceptions.h.
|
inlinevirtual |
Definition at line 118 of file VectorExceptions.h.
References correctDimension_.
|
inlinevirtual |
Definition at line 117 of file VectorExceptions.h.
References dimension_.
|
inlineinherited |
Method to get the message of the exception (STL method redefinition).
Definition at line 87 of file Exceptions.h.
References bpp::Exception::message_.
|
private |
Definition at line 106 of file VectorExceptions.h.
Referenced by getCorrectDimension().
|
private |
Definition at line 105 of file VectorExceptions.h.
Referenced by getDimension().
|
protectedinherited |
Definition at line 61 of file Exceptions.h.
Referenced by bpp::Exception::what().