30 Exception(
"NodeNotFoundException: " + text +
"(" + id +
")"),
34 Exception(
"NodeNotFoundException: " + text +
"(" + TextTools::
toString(id) +
")"),
52 Exception(
"BranchNotFoundException: " + text +
"(" + id +
")"),
58 Exception(
"BranchNotFoundException: " + text +
"(" + TextTools::
toString(id) +
")"),
64 Exception(
"PhyloTreeException: " + text + (tree != 0 ?
"(" + tree->getName() +
")" :
"")),
General exception thrown when something is wrong with a particular branch.
PhyloBranchNotFoundException(const std::string &text, const std::string &id)
Build a new PhyloBranchNotFoundException.
PhyloBranchPException(const std::string &text, const PhyloTree &tree, const std::shared_ptr< PhyloBranch > branch)
Build a new PhyloBranchPException.
General exception thrown when something is wrong with a particular node.
PhyloNodeNotFoundException(const std::string &text, const std::string &id)
Build a new PhyloNodeNotFoundException.
PhyloNodePException(const std::string &text, const PhyloTree &tree, const std::shared_ptr< PhyloNode > node)
Build a new PhyloNodePException.
General exception thrown when something wrong happened in a tree.
PhyloTreeException(const std::string &text, const PhyloTree *tree=0)
Build a new PhyloTreeException.
UnrootedPhyloTreeException(const std::string &text, const PhyloTree *tree=0)
Build a new UnrootedPhyloTreeException.
std::string toString(T t)
Defines the basic types of data flow nodes.