bpp-seq3
3.0.0
|
The site not found exception base class. More...
#include <Bpp/Seq/Container/SiteContainerExceptions.h>
Public Member Functions | |
SiteNotFoundException (const char *text, const char *sId="") | |
Build a new SiteNotFoundException object. More... | |
SiteNotFoundException (const std::string &text, const std::string &sId="") | |
Build a new SiteNotFoundException object. More... | |
~SiteNotFoundException () | |
virtual const std::string | getSiteId () const |
Get the id of the site that was to be found. More... | |
const char * | what () const noexcept override |
const std::string & | message () const noexcept |
Protected Attributes | |
const std::string | id |
The id of the site that was to be found. More... | |
Private Attributes | |
std::string | message_ |
The site not found exception base class.
Definition at line 20 of file SiteContainerExceptions.h.
SiteNotFoundException::SiteNotFoundException | ( | const char * | text, |
const char * | sId = "" |
||
) |
Build a new SiteNotFoundException object.
text | A message to be passed to the exception hierarchy. |
sId | A the id of the site that was to be found. |
Definition at line 14 of file SiteContainerExceptions.cpp.
SiteNotFoundException::SiteNotFoundException | ( | const std::string & | text, |
const std::string & | sId = "" |
||
) |
Build a new SiteNotFoundException object.
text | A message to be passed to the exception hierarchy. |
sId | A the id of the site that was to be found. |
Definition at line 18 of file SiteContainerExceptions.cpp.
SiteNotFoundException::~SiteNotFoundException | ( | ) |
Definition at line 22 of file SiteContainerExceptions.cpp.
|
virtual |
Get the id of the site that was to be found.
Definition at line 24 of file SiteContainerExceptions.cpp.
References id.
|
protected |
The id of the site that was to be found.
Definition at line 27 of file SiteContainerExceptions.h.
Referenced by getSiteId().