bpp-core3
3.0.0
|
Exception thrown when a given element was not found in the vector. More...
#include <Bpp/Numeric/VectorExceptions.h>
Public Member Functions | |
ElementNotFoundException (const std::string &text, const std::vector< T > *vect=nullptr, const T *element=nullptr) | |
ElementNotFoundException (const ElementNotFoundException &)=default | |
ElementNotFoundException & | operator= (const ElementNotFoundException &)=default |
const T * | getElement () const |
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_ |
Private Attributes | |
const T * | element_ |
Exception thrown when a given element was not found in the vector.
Definition at line 61 of file VectorExceptions.h.
|
inline |
Definition at line 67 of file VectorExceptions.h.
References bpp::VectorException< T >::operator=().
|
default |
|
inline |
Definition at line 74 of file VectorExceptions.h.
Referenced by bpp::DataTable::operator()(), and bpp::Table< T >::operator()().
|
inlineinherited |
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_.
|
private |
Definition at line 64 of file VectorExceptions.h.
|
protectedinherited |
Definition at line 20 of file VectorExceptions.h.
Referenced by bpp::VectorException< T >::getVector().