|
bpp-phyl3 3.0.0
|
Exception thrown when something is wrong with a particular branch. More...
#include <Bpp/Phyl/Tree/PhyloTreeExceptions.h>
Inheritance diagram for bpp::PhyloBranchNotFoundException:
Collaboration diagram for bpp::PhyloBranchNotFoundException:Public Member Functions | |
| PhyloBranchNotFoundException (const std::string &text, const std::string &id) | |
| Build a new PhyloBranchNotFoundException. More... | |
| PhyloBranchNotFoundException (const std::string &text, uint id) | |
| Build a new PhyloBranchNotFoundException. More... | |
| virtual | ~PhyloBranchNotFoundException () |
| virtual std::string | getId () const |
| Get the branch id that threw the exception. More... | |
| const char * | what () const noexcept override |
| const std::string & | message () const noexcept |
Private Attributes | |
| std::string | id_ |
| std::string | message_ |
Exception thrown when something is wrong with a particular branch.
Definition at line 356 of file PhyloTreeExceptions.h.
| PhyloBranchNotFoundException::PhyloBranchNotFoundException | ( | const std::string & | text, |
| const std::string & | id | ||
| ) |
Build a new PhyloBranchNotFoundException.
| text | A message to be passed to the exception hierarchy. |
| id | A string describing the branch. |
Definition at line 51 of file PhyloTreeExceptions.cpp.
| PhyloBranchNotFoundException::PhyloBranchNotFoundException | ( | const std::string & | text, |
| uint | id | ||
| ) |
Build a new PhyloBranchNotFoundException.
| text | A message to be passed to the exception hierarchy. |
| id | A branch identifier. |
Definition at line 57 of file PhyloTreeExceptions.cpp.
References toString().
|
inlinevirtual |
Definition at line 379 of file PhyloTreeExceptions.h.
|
inlinevirtual |
Get the branch id that threw the exception.
Definition at line 387 of file PhyloTreeExceptions.h.
References id_.
|
private |
Definition at line 360 of file PhyloTreeExceptions.h.
Referenced by getId().