bpp-popgen3
3.0.0
|
The LocalityNotFoundException class. More...
#include <Bpp/PopGen/GeneralExceptions.h>
Public Member Functions | |
LocalityNotFoundException (const char *text, size_t id) | |
Build the exception with a numerical identifier. More... | |
LocalityNotFoundException (const std::string &text, size_t id) | |
Build the exception with a numerical identifier. More... | |
LocalityNotFoundException (const char *text, const std::string &id) | |
Build the exception with a textual identifier. More... | |
LocalityNotFoundException (const std::string &text, const std::string &id) | |
Build the exception with a textual identifier. More... | |
~LocalityNotFoundException () 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 LocalityNotFoundException class.
Definition at line 147 of file GeneralExceptions.h.
LocalityNotFoundException::LocalityNotFoundException | ( | const char * | text, |
size_t | id | ||
) |
Build the exception with a numerical identifier.
Definition at line 101 of file GeneralExceptions.cpp.
References toString().
LocalityNotFoundException::LocalityNotFoundException | ( | const std::string & | text, |
size_t | id | ||
) |
Build the exception with a numerical identifier.
Definition at line 106 of file GeneralExceptions.cpp.
References toString().
LocalityNotFoundException::LocalityNotFoundException | ( | const char * | text, |
const std::string & | id | ||
) |
Build the exception with a textual identifier.
Definition at line 111 of file GeneralExceptions.cpp.
LocalityNotFoundException::LocalityNotFoundException | ( | const std::string & | text, |
const std::string & | id | ||
) |
Build the exception with a textual identifier.
Definition at line 116 of file GeneralExceptions.cpp.
LocalityNotFoundException::~LocalityNotFoundException | ( | ) | ||
throw | ( | |||
) |
Definition at line 121 of file GeneralExceptions.cpp.
|
virtual |
Return the value of the identifier as a string.
Reimplemented from bpp::BadIdentifierException.
Definition at line 123 of file GeneralExceptions.cpp.
References bpp::BadIdentifierException::getIdentifier().
Referenced by bpp::DataSet::setIndividualLocalityInGroupByName().
|
protectedinherited |
Definition at line 59 of file GeneralExceptions.h.
Referenced by bpp::BadIdentifierException::getIdentifier().