|
bpp-popgen3
3.0.0
|
The AlleleNotFoundException class. More...
#include <Bpp/PopGen/GeneralExceptions.h>
Inheritance diagram for bpp::AlleleNotFoundException:
Collaboration diagram for bpp::AlleleNotFoundException:Public Member Functions | |
| AlleleNotFoundException (const char *text, size_t id) | |
| Build the exception with a numerical identifier. More... | |
| AlleleNotFoundException (const std::string &text, size_t id) | |
| Build the exception with a numerical identifier. More... | |
| AlleleNotFoundException (const char *text, const std::string &id) | |
| Build the exception with a textual identifier. More... | |
| AlleleNotFoundException (const std::string &text, const std::string &id) | |
| Build the exception with a textual identifier. More... | |
| ~AlleleNotFoundException () 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 AlleleNotFoundException class.
Definition at line 107 of file GeneralExceptions.h.
| AlleleNotFoundException::AlleleNotFoundException | ( | const char * | text, |
| size_t | id | ||
| ) |
Build the exception with a numerical identifier.
Definition at line 72 of file GeneralExceptions.cpp.
References toString().
| AlleleNotFoundException::AlleleNotFoundException | ( | const std::string & | text, |
| size_t | id | ||
| ) |
Build the exception with a numerical identifier.
Definition at line 77 of file GeneralExceptions.cpp.
References toString().
| AlleleNotFoundException::AlleleNotFoundException | ( | const char * | text, |
| const std::string & | id | ||
| ) |
Build the exception with a textual identifier.
Definition at line 82 of file GeneralExceptions.cpp.
| AlleleNotFoundException::AlleleNotFoundException | ( | const std::string & | text, |
| const std::string & | id | ||
| ) |
Build the exception with a textual identifier.
Definition at line 87 of file GeneralExceptions.cpp.
| AlleleNotFoundException::~AlleleNotFoundException | ( | ) | ||
| throw | ( | |||
| ) | ||||
Definition at line 92 of file GeneralExceptions.cpp.
|
virtual |
Return the value of the identifier as a string.
Reimplemented from bpp::BadIdentifierException.
Definition at line 94 of file GeneralExceptions.cpp.
References bpp::BadIdentifierException::getIdentifier().
Referenced by bpp::Group::setIndividualMonolocusGenotypeByAlleleId(), bpp::DataSet::setIndividualMonolocusGenotypeByAlleleIdInGroup(), bpp::MultilocusGenotype::setMonolocusGenotypeByAlleleId(), and bpp::Individual::setMonolocusGenotypeByAlleleId().
|
protectedinherited |
Definition at line 59 of file GeneralExceptions.h.
Referenced by bpp::BadIdentifierException::getIdentifier().