|
bpp-popgen3
3.0.0
|
The IndividualNotFoundException class. More...
#include <Bpp/PopGen/GeneralExceptions.h>
Inheritance diagram for bpp::IndividualNotFoundException:
Collaboration diagram for bpp::IndividualNotFoundException:Public Member Functions | |
| IndividualNotFoundException (const char *text, size_t id) | |
| Build the exception with a numerical identifier. More... | |
| IndividualNotFoundException (const std::string &text, size_t id) | |
| Build the exception with a numerical identifier. More... | |
| IndividualNotFoundException (const char *text, const std::string &id) | |
| Build the exception with a textual identifier. More... | |
| IndividualNotFoundException (const std::string &text, const std::string &id) | |
| Build the exception with a textual identifier. More... | |
| ~IndividualNotFoundException () throw () | |
| virtual const std::string | getIdentifier () const |
| Return the value of the identifier as a string. More... | |
| const char * | what () const noexcept override |
| const std::string & | message () const noexcept |
Protected Attributes | |
| const std::string | id_ |
Private Attributes | |
| std::string | message_ |
The IndividualNotFoundException class.
Definition at line 187 of file GeneralExceptions.h.
| IndividualNotFoundException::IndividualNotFoundException | ( | const char * | text, |
| size_t | id | ||
| ) |
Build the exception with a numerical identifier.
Definition at line 130 of file GeneralExceptions.cpp.
References toString().
| IndividualNotFoundException::IndividualNotFoundException | ( | const std::string & | text, |
| size_t | id | ||
| ) |
Build the exception with a numerical identifier.
Definition at line 135 of file GeneralExceptions.cpp.
References toString().
| IndividualNotFoundException::IndividualNotFoundException | ( | const char * | text, |
| const std::string & | id | ||
| ) |
Build the exception with a textual identifier.
Definition at line 140 of file GeneralExceptions.cpp.
| IndividualNotFoundException::IndividualNotFoundException | ( | const std::string & | text, |
| const std::string & | id | ||
| ) |
Build the exception with a textual identifier.
Definition at line 145 of file GeneralExceptions.cpp.
| IndividualNotFoundException::~IndividualNotFoundException | ( | ) | ||
| throw | ( | |||
| ) | ||||
Definition at line 150 of file GeneralExceptions.cpp.
|
virtual |
Return the value of the identifier as a string.
Reimplemented from bpp::BadIdentifierException.
Definition at line 152 of file GeneralExceptions.cpp.
References bpp::BadIdentifierException::getIdentifier().
Referenced by bpp::DataSet::deleteIndividualByIdFromGroup(), bpp::DataSet::getIndividualByIdFromGroup(), and bpp::DataSet::getIndividualPositionInGroup().
|
protectedinherited |
Definition at line 59 of file GeneralExceptions.h.
Referenced by bpp::BadIdentifierException::getIdentifier().