bpp-phyl3
3.0.0
|
General exception thrown when something is wrong with a particular branch. More...
#include <Bpp/Phyl/Tree/PhyloTreeExceptions.h>
Public Member Functions | |
PhyloBranchException (const std::string &text, uint branchId) | |
Build a new PhyloBranchPException. More... | |
virtual | ~PhyloBranchException () |
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 | |
std::string | message_ |
General exception thrown when something is wrong with a particular branch.
Definition at line 208 of file PhyloTreeExceptions.h.
|
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 220 of file PhyloTreeExceptions.h.
References toString().
|
inlinevirtual |
Definition at line 224 of file PhyloTreeExceptions.h.
|
inlinevirtual |
Get the id of branch that threw the exception.
Reimplemented in bpp::PhyloBranchPException.
Definition at line 232 of file PhyloTreeExceptions.h.
References branchId_.
|
protected |
Definition at line 212 of file PhyloTreeExceptions.h.
Referenced by getBranchId(), and bpp::PhyloBranchPException::getBranchId().