bpp-seq  2.2.0
bpp::EmptySiteException Class Reference

Exception sent when a empty site is found. More...

#include <Bpp/Seq/SiteExceptions.h>

+ Inheritance diagram for bpp::EmptySiteException:
+ Collaboration diagram for bpp::EmptySiteException:

Public Member Functions

 EmptySiteException (const std::string &text, const Site *s=0)
 
virtual ~EmptySiteException () throw ()
 
virtual const SitegetSite () const
 Get the site that threw the exception. More...
 

Detailed Description

Exception sent when a empty site is found.

Definition at line 100 of file SiteExceptions.h.

Constructor & Destructor Documentation

◆ EmptySiteException()

bpp::EmptySiteException::EmptySiteException ( const std::string &  text,
const Site s = 0 
)
inline

Definition at line 104 of file SiteExceptions.h.

◆ ~EmptySiteException()

virtual bpp::EmptySiteException::~EmptySiteException ( )
throw (
)
inlinevirtual

Definition at line 106 of file SiteExceptions.h.

Member Function Documentation

◆ getSite()

virtual const Site* bpp::SiteException::getSite ( ) const
inlinevirtualinherited

Get the site that threw the exception.

Returns
A const pointer toward the site.

Definition at line 94 of file SiteExceptions.h.

References bpp::SiteException::site_.


The documentation for this class was generated from the following file: