bpp-seq3
3.0.0
|
The site exception base class. More...
#include <Bpp/Seq/SiteExceptions.h>
Public Member Functions | |
SiteException (const std::string &text, const CoreSiteInterface *s) | |
Build a new SiteException object. More... | |
SiteException (const SiteException &se) | |
SiteException & | operator= (const SiteException &se) |
virtual | ~SiteException () |
virtual const CoreSiteInterface * | getSite () const |
Get the site that threw the exception. More... | |
const char * | what () const noexcept override |
const std::string & | message () const noexcept |
Private Attributes | |
const CoreSiteInterface * | site_ |
A reference toward a site object. More... | |
std::string | message_ |
|
inline |
Build a new SiteException object.
text | A message to be passed to the exception hierarchy. |
s | A const reference toward the site that threw the exception. |
Definition at line 37 of file SiteExceptions.h.
References toString().
|
inline |
Definition at line 42 of file SiteExceptions.h.
|
inlinevirtual |
Definition at line 55 of file SiteExceptions.h.
|
inlinevirtual |
Get the site that threw the exception.
Definition at line 63 of file SiteExceptions.h.
References site_.
|
inline |
Definition at line 47 of file SiteExceptions.h.
References site_.
|
private |
A reference toward a site object.
Definition at line 26 of file SiteExceptions.h.
Referenced by getSite(), and operator=().