bpp-core3
3.0.0
|
General Exception dealing with vectors. More...
#include <Bpp/Numeric/VectorExceptions.h>
Public Member Functions | |
VectorException (const std::string &text, const std::vector< T > *vect=nullptr) | |
VectorException (const VectorException &)=default | |
VectorException & | operator= (const VectorException &)=default |
const std::vector< T > * | getVector () 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... | |
Protected Attributes | |
const std::vector< T > * | vect_ |
General Exception dealing with vectors.
Definition at line 17 of file VectorExceptions.h.
|
inline |
Definition at line 23 of file VectorExceptions.h.
References bpp::VectorException< T >::operator=().
|
default |
|
inline |
Definition at line 29 of file VectorExceptions.h.
References bpp::VectorException< T >::vect_.
|
noexceptinherited |
Access the message as a std::string.
Definition at line 79 of file Exceptions.cpp.
References bpp::Exception::message_.
|
default |
|
overridenoexceptinherited |
Method to get the message of the exception (STL method redefinition).
Definition at line 78 of file Exceptions.cpp.
References bpp::Exception::message_.
|
protected |
Definition at line 20 of file VectorExceptions.h.
Referenced by bpp::VectorException< T >::getVector().