bpp-core3  3.0.0
bpp::DuplicatedTableRowNameException Class Reference

Exception thrown when attempting to duplicate a row name. More...

#include <Bpp/Numeric/TableExceptions.h>

+ Inheritance diagram for bpp::DuplicatedTableRowNameException:
+ Collaboration diagram for bpp::DuplicatedTableRowNameException:

Public Member Functions

 DuplicatedTableRowNameException (const std::string &text)
 
virtual ~DuplicatedTableRowNameException ()
 
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::string message_
 

Detailed Description

Exception thrown when attempting to duplicate a row name.

Definition at line 152 of file TableExceptions.h.

Constructor & Destructor Documentation

◆ DuplicatedTableRowNameException()

bpp::DuplicatedTableRowNameException::DuplicatedTableRowNameException ( const std::string &  text)
inline

Definition at line 156 of file TableExceptions.h.

◆ ~DuplicatedTableRowNameException()

virtual bpp::DuplicatedTableRowNameException::~DuplicatedTableRowNameException ( )
inlinevirtual

Definition at line 158 of file TableExceptions.h.

Member Function Documentation

◆ message()

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

Access the message as a std::string.

Definition at line 119 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 118 of file Exceptions.cpp.

References bpp::Exception::message_.

Member Data Documentation

◆ message_

std::string bpp::Exception::message_
privateinherited

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