bpp-seq
2.2.0
|
The site exception base class. More...
#include <Bpp/Seq/SiteExceptions.h>
Public Member Functions | |
SiteException (const std::string &text, const Site *s=0) | |
Build a new SiteException object. More... | |
SiteException (const SiteException &se) | |
SiteException & | operator= (const SiteException &se) |
virtual | ~SiteException () throw () |
virtual const Site * | getSite () const |
Get the site that threw the exception. More... | |
Private Attributes | |
const Site * | site_ |
A pointer toward a site object. More... | |
SiteException::SiteException | ( | const std::string & | text, |
const Site * | s = 0 |
||
) |
Build a new SiteException object.
text | A message to be passed to the exception hierarchy. |
s | A const pointer toward the site that threw the exception. |
Definition at line 47 of file SiteExceptions.cpp.
|
inline |
Definition at line 75 of file SiteExceptions.h.
|
inlinevirtual |
Definition at line 85 of file SiteExceptions.h.
|
inlinevirtual |
Get the site that threw the exception.
Definition at line 94 of file SiteExceptions.h.
References site_.
|
inline |
Definition at line 77 of file SiteExceptions.h.
References site_.
|
private |
A pointer toward a site object.
Definition at line 63 of file SiteExceptions.h.
Referenced by getSite(), and operator=().