5 #ifndef BPP_SEQ_SITEEXCEPTIONS_H
6 #define BPP_SEQ_SITEEXCEPTIONS_H
38 Exception(text + (s != 0 ?
"(" + TextTools::
toString(s->getCoordinate()) +
")" : std::string(
""))),
49 Exception::operator=(se);
Exception sent when a empty site is found.
virtual ~EmptySiteException()
EmptySiteException(const std::string &text, const CoreSiteInterface *s)
The site exception base class.
const CoreSiteInterface * site_
A reference toward a site object.
virtual const CoreSiteInterface * getSite() const
Get the site that threw the exception.
SiteException(const std::string &text, const CoreSiteInterface *s)
Build a new SiteException object.
SiteException & operator=(const SiteException &se)
SiteException(const SiteException &se)
Exception sent when a site containing gap is found.
virtual ~SiteWithGapException()
SiteWithGapException(const std::string &text, const CoreSiteInterface *s)
std::string toString(T t)
This alphabet is used to deal NumericAlphabet.