bpp-popgen3
3.0.0
|
The LocusNotFoundException class. More...
#include <Bpp/PopGen/GeneralExceptions.h>
Public Member Functions | |
LocusNotFoundException (const char *text, size_t id) | |
Build the exception with a numerical identifier. More... | |
LocusNotFoundException (const std::string &text, size_t id) | |
Build the exception with a numerical identifier. More... | |
LocusNotFoundException (const char *text, const std::string &id) | |
Build the exception with a textual identifier. More... | |
LocusNotFoundException (const std::string &text, const std::string &id) | |
Build the exception with a textual identifier. More... | |
~LocusNotFoundException () 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 LocusNotFoundException class.
Definition at line 67 of file GeneralExceptions.h.
LocusNotFoundException::LocusNotFoundException | ( | const char * | text, |
size_t | id | ||
) |
Build the exception with a numerical identifier.
Definition at line 43 of file GeneralExceptions.cpp.
References toString().
LocusNotFoundException::LocusNotFoundException | ( | const std::string & | text, |
size_t | id | ||
) |
Build the exception with a numerical identifier.
Definition at line 48 of file GeneralExceptions.cpp.
References toString().
LocusNotFoundException::LocusNotFoundException | ( | const char * | text, |
const std::string & | id | ||
) |
Build the exception with a textual identifier.
Definition at line 53 of file GeneralExceptions.cpp.
LocusNotFoundException::LocusNotFoundException | ( | const std::string & | text, |
const std::string & | id | ||
) |
Build the exception with a textual identifier.
Definition at line 58 of file GeneralExceptions.cpp.
LocusNotFoundException::~LocusNotFoundException | ( | ) | ||
throw | ( | |||
) |
Definition at line 63 of file GeneralExceptions.cpp.
|
virtual |
Return the value of the identifier as a string.
Reimplemented from bpp::BadIdentifierException.
Definition at line 65 of file GeneralExceptions.cpp.
References bpp::BadIdentifierException::getIdentifier().
Referenced by bpp::DataSet::addAlleleInfoByLocusName(), and bpp::DataSet::getPloidyByLocusName().
|
protectedinherited |
Definition at line 59 of file GeneralExceptions.h.
Referenced by bpp::BadIdentifierException::getIdentifier().