|
bpp-phyl3 3.0.0
|
General exception thrown when something is wrong with a particular branch. More...
#include <Bpp/Phyl/Tree/PhyloTreeExceptions.h>
Inheritance diagram for bpp::PhyloBranchPException:
Collaboration diagram for bpp::PhyloBranchPException:Public Member Functions | |
| PhyloBranchPException (const std::string &text, const PhyloTree &tree, const std::shared_ptr< PhyloBranch > branch) | |
| Build a new PhyloBranchPException. More... | |
| PhyloBranchPException (const std::string &text, const PhyloBranch *branch) | |
| Build a new PhyloBranchPException. More... | |
| PhyloBranchPException (const std::string &text, uint branchId) | |
| Build a new PhyloBranchPException. More... | |
| PhyloBranchPException (const PhyloBranchPException &nex) | |
| PhyloBranchPException & | operator= (const PhyloBranchPException &nex) |
| virtual | ~PhyloBranchPException () |
| virtual const PhyloBranch * | getBranch () const |
| Get the branch that threw the exception. More... | |
| virtual uint | getBranchId () const |
| Get the id of branch that threw the exception. More... | |
| const char * | what () const noexcept override |
| const std::string & | message () const noexcept |
Protected Attributes | |
| uint | branchId_ |
Private Attributes | |
| const PhyloBranch * | branch_ |
| std::string | message_ |
General exception thrown when something is wrong with a particular branch.
Definition at line 239 of file PhyloTreeExceptions.h.
| PhyloBranchPException::PhyloBranchPException | ( | const std::string & | text, |
| const PhyloTree & | tree, | ||
| const std::shared_ptr< PhyloBranch > | branch | ||
| ) |
Build a new PhyloBranchPException.
| text | A message to be passed to the exception hierarchy. |
| tree | the phyloTree owning the branch |
| branch | A const pointer toward the branch that threw the exception. |
Definition at line 39 of file PhyloTreeExceptions.cpp.
| PhyloBranchPException::PhyloBranchPException | ( | const std::string & | text, |
| const PhyloBranch * | branch | ||
| ) |
Build a new PhyloBranchPException.
| text | A message to be passed to the exception hierarchy. |
| branch | A const pointer toward the branch that threw the exception. |
Definition at line 45 of file PhyloTreeExceptions.cpp.
|
inline |
Build a new PhyloBranchPException.
| text | A message to be passed to the exception hierarchy. |
| branchId | The id of the branch that threw the exception. |
Definition at line 266 of file PhyloTreeExceptions.h.
|
inline |
Definition at line 269 of file PhyloTreeExceptions.h.
|
inlinevirtual |
Definition at line 281 of file PhyloTreeExceptions.h.
|
inlinevirtual |
Get the branch that threw the exception.
Definition at line 289 of file PhyloTreeExceptions.h.
References branch_.
|
inlinevirtual |
Get the id of branch that threw the exception.
Reimplemented from bpp::PhyloBranchException.
Definition at line 295 of file PhyloTreeExceptions.h.
References bpp::PhyloBranchException::branchId_.
|
inline |
Definition at line 274 of file PhyloTreeExceptions.h.
References branch_.
|
private |
Definition at line 243 of file PhyloTreeExceptions.h.
Referenced by getBranch(), and operator=().
|
protectedinherited |
Definition at line 212 of file PhyloTreeExceptions.h.
Referenced by bpp::PhyloBranchException::getBranchId(), and getBranchId().