|
bpp-phyl3 3.0.0
|
General exception thrown when something is wrong with a particular node. More...
#include <Bpp/Phyl/Tree/PhyloTreeExceptions.h>
Inheritance diagram for bpp::PhyloNodePException:
Collaboration diagram for bpp::PhyloNodePException:Public Member Functions | |
| PhyloNodePException (const std::string &text, const PhyloTree &tree, const std::shared_ptr< PhyloNode > node) | |
| Build a new PhyloNodePException. More... | |
| PhyloNodePException (const std::string &text, const PhyloNode *node) | |
| Build a new PhyloNodePException. More... | |
| PhyloNodePException (const std::string &text, uint nodeId) | |
| Build a new PhyloNodePException. More... | |
| PhyloNodePException (const PhyloNodePException &nex) | |
| PhyloNodePException & | operator= (const PhyloNodePException &nex) |
| virtual | ~PhyloNodePException () |
| virtual const PhyloNode * | getNode () const |
| Get the node that threw the exception. More... | |
| virtual uint | getNodeId () const |
| Get the id of node that threw the exception. More... | |
| const char * | what () const noexcept override |
| const std::string & | message () const noexcept |
Protected Attributes | |
| uint | nodeId_ |
Private Attributes | |
| const PhyloNode * | node_ |
| std::string | message_ |
General exception thrown when something is wrong with a particular node.
Definition at line 56 of file PhyloTreeExceptions.h.
| PhyloNodePException::PhyloNodePException | ( | const std::string & | text, |
| const PhyloTree & | tree, | ||
| const std::shared_ptr< PhyloNode > | node | ||
| ) |
Build a new PhyloNodePException.
| text | A message to be passed to the exception hierarchy. |
| tree | the phyloTree owning the branch |
| node | A const pointer toward the node that threw the exception. |
Definition at line 17 of file PhyloTreeExceptions.cpp.
| PhyloNodePException::PhyloNodePException | ( | const std::string & | text, |
| const PhyloNode * | node | ||
| ) |
Build a new PhyloNodePException.
| text | A message to be passed to the exception hierarchy. |
| node | A const pointer toward the node that threw the exception. |
Definition at line 23 of file PhyloTreeExceptions.cpp.
|
inline |
Build a new PhyloNodePException.
| text | A message to be passed to the exception hierarchy. |
| nodeId | The id of the node that threw the exception. |
Definition at line 83 of file PhyloTreeExceptions.h.
|
inline |
Definition at line 86 of file PhyloTreeExceptions.h.
|
inlinevirtual |
Definition at line 98 of file PhyloTreeExceptions.h.
|
inlinevirtual |
Get the node that threw the exception.
Definition at line 106 of file PhyloTreeExceptions.h.
References node_.
|
inlinevirtual |
Get the id of node that threw the exception.
Reimplemented from bpp::PhyloNodeException.
Definition at line 112 of file PhyloTreeExceptions.h.
References bpp::PhyloNodeException::nodeId_.
|
inline |
Definition at line 91 of file PhyloTreeExceptions.h.
References node_.
|
private |
Definition at line 60 of file PhyloTreeExceptions.h.
Referenced by getNode(), and operator=().
|
protectedinherited |
Definition at line 29 of file PhyloTreeExceptions.h.
Referenced by bpp::PhyloNodeException::getNodeId(), and getNodeId().