22 Exception(
"NodeNotFoundException: " + text +
"(" + id +
")"),
26 Exception(
"NodeNotFoundException: " + text +
"(" + TextTools::
toString(id) +
")"),
32 Exception(
"TreeException: " + text + (tree != 0 ?
"(" + tree->getName() +
")" :
"")),
General exception thrown when something is wrong with a particular node.
NodeNotFoundException(const std::string &text, const std::string &id)
Build a new NodeNotFoundException.
NodePException(const std::string &text, const Node *node=0)
Build a new NodePException.
The phylogenetic node class.
General exception thrown when something wrong happened in a tree.
TreeException(const std::string &text, const Tree *tree=0)
Build a new TreeException.
Interface for phylogenetic tree objects.
UnrootedTreeException(const std::string &text, const Tree *tree=0)
Build a new UnrootedTreeException.
std::string toString(T t)
Defines the basic types of data flow nodes.