42 #include <Bpp/Text/TextTools.h> 50 const size_t id) : Exception(
"BadIdentifierException: " +
51 string(text) +
"(" + TextTools::toString(id) +
")"),
52 id_(TextTools::toString(id)) {}
55 const size_t id) : Exception(
"BadIdentifierException: " +
56 text +
"(" + TextTools::toString(id) +
")"),
57 id_(TextTools::toString(id)) {}
60 const std::string&
id) : Exception(
"BadIdentifierException: " + string(text) +
65 const std::string&
id) : Exception(
"BadIdentifierException: " + text +
80 string(text) +
"(" + TextTools::toString(id) +
")",
85 text +
"(" + TextTools::toString(id) +
")",
109 string(text) +
"(" + TextTools::toString(id) +
")",
114 text +
"(" + TextTools::toString(id) +
")",
138 string(text) +
"(" + TextTools::toString(id) +
")",
143 text +
"(" + TextTools::toString(id) +
")",
167 string(text) +
"(" + TextTools::toString(id) +
")",
172 text +
"(" + TextTools::toString(id) +
")",
196 string(text) +
"(" + TextTools::toString(id) +
")",
201 text +
"(" + TextTools::toString(id) +
")",
LocalityNotFoundException(const char *text, size_t id)
Build the exception with a numerical identifier.
LocusNotFoundException(const char *text, size_t id)
Build the exception with a numerical identifier.
virtual const std::string getIdentifier() const
Return the value of the identifier as a string.
~GroupNotFoundException()
The BadIdentifierException class.
~LocalityNotFoundException()
virtual const std::string getIdentifier() const
Return the value of the identifier as a string.
virtual const std::string getIdentifier() const
Return the value of the identifier as a string.
~IndividualNotFoundException()
~LocusNotFoundException()
IndividualNotFoundException(const char *text, size_t id)
Build the exception with a numerical identifier.
virtual const std::string getIdentifier() const
Return the value of the identifier as a string.
~AlleleNotFoundException()
BadIdentifierException(const char *text, size_t id)
Build the exception with a numerical identifier.
~BadIdentifierException()
virtual const std::string getIdentifier() const
Return the value of the identifier as a string.
virtual const std::string getIdentifier() const
Return the value of the identifier as a string.
GroupNotFoundException(const char *text, size_t id)
Build the exception with a numerical identifier.
AlleleNotFoundException(const char *text, size_t id)
Build the exception with a numerical identifier.