bpp-phyl3
3.0.0
|
General exception thrown if a property could not be found. More...
#include <Bpp/Phyl/Tree/PhyloTreeExceptions.h>
Public Member Functions | |
PhyloBranchPropertyNotFoundException (const std::string &text, const std::string &propertyName, const PhyloTree &tree, const std::shared_ptr< PhyloBranch > branch) | |
Build a new PropertyNotFoundException (Branch). More... | |
PhyloBranchPropertyNotFoundException (const std::string &text, const std::string &propertyName, const PhyloBranch *branch) | |
Build a new PropertyNotFoundException (Branch). More... | |
PhyloBranchPropertyNotFoundException (const std::string &text, const std::string &propertyName, uint branchId) | |
Build a new PropertyNotFoundException. More... | |
virtual | ~PhyloBranchPropertyNotFoundException () |
virtual const std::string & | getPropertyName () const |
Get the name of the property that could not be found. More... | |
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 | |
std::string | propertyName_ |
const PhyloBranch * | branch_ |
std::string | message_ |
General exception thrown if a property could not be found.
Definition at line 301 of file PhyloTreeExceptions.h.
|
inline |
Build a new PropertyNotFoundException (Branch).
text | A message to be passed to the exception hierarchy. |
propertyName | The name of the property. |
tree | the phyloTree owning the branch |
branch | A const pointer toward the branch that threw the exception. |
Definition at line 316 of file PhyloTreeExceptions.h.
|
inline |
Build a new PropertyNotFoundException (Branch).
text | A message to be passed to the exception hierarchy. |
propertyName | The name of the property. |
branch | A const pointer toward the branch that threw the exception. |
Definition at line 327 of file PhyloTreeExceptions.h.
|
inline |
Build a new PropertyNotFoundException.
text | A message to be passed to the exception hierarchy. |
propertyName | The name of the property. |
branchId | The id of the branch that threw the exception. |
Definition at line 338 of file PhyloTreeExceptions.h.
|
inlinevirtual |
Definition at line 342 of file PhyloTreeExceptions.h.
|
inlinevirtualinherited |
Get the branch that threw the exception.
Definition at line 289 of file PhyloTreeExceptions.h.
References bpp::PhyloBranchPException::branch_.
|
inlinevirtualinherited |
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_.
|
inlinevirtual |
Get the name of the property that could not be found.
Definition at line 350 of file PhyloTreeExceptions.h.
References propertyName_.
|
privateinherited |
Definition at line 243 of file PhyloTreeExceptions.h.
Referenced by bpp::PhyloBranchPException::getBranch(), and bpp::PhyloBranchPException::operator=().
|
protectedinherited |
Definition at line 212 of file PhyloTreeExceptions.h.
Referenced by bpp::PhyloBranchException::getBranchId(), and bpp::PhyloBranchPException::getBranchId().
|
private |
Definition at line 305 of file PhyloTreeExceptions.h.
Referenced by getPropertyName().