bpp-core3  3.0.0
bpp::TableRowNameNotFoundException Class Reference

Exception thrown when a given row name is not found is a DataTable object. More...

#include <Bpp/Numeric/TableExceptions.h>

+ Inheritance diagram for bpp::TableRowNameNotFoundException:
+ Collaboration diagram for bpp::TableRowNameNotFoundException:

Public Member Functions

 TableRowNameNotFoundException (const std::string &text, const std::string &name)
 
virtual ~TableRowNameNotFoundException ()
 
std::string getName () 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

std::string _name
 

Detailed Description

Exception thrown when a given row name is not found is a DataTable object.

Definition at line 41 of file TableExceptions.h.

Constructor & Destructor Documentation

◆ TableRowNameNotFoundException()

bpp::TableRowNameNotFoundException::TableRowNameNotFoundException ( const std::string &  text,
const std::string &  name 
)
inline

Definition at line 45 of file TableExceptions.h.

◆ ~TableRowNameNotFoundException()

virtual bpp::TableRowNameNotFoundException::~TableRowNameNotFoundException ( )
inlinevirtual

Definition at line 47 of file TableExceptions.h.

Member Function Documentation

◆ getName()

std::string bpp::TableNameNotFoundException::getName ( ) const
inlineinherited

Definition at line 35 of file TableExceptions.h.

References bpp::TableNameNotFoundException::_name.

◆ message()

const std::string & bpp::Exception::message ( ) const
noexceptinherited

Access the message as a std::string.

Definition at line 79 of file Exceptions.cpp.

References bpp::Exception::message_.

◆ 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_.

Member Data Documentation

◆ _name

std::string bpp::TableNameNotFoundException::_name
protectedinherited

Definition at line 27 of file TableExceptions.h.

Referenced by bpp::TableNameNotFoundException::getName().


The documentation for this class was generated from the following file: