|
bpp-phyl
2.2.0
|
General exception thrown when something is wrong with a particular node. More...
#include <Bpp/Phyl/TreeExceptions.h>
Inheritance diagram for bpp::NodeException:
Collaboration diagram for bpp::NodeException:Public Member Functions | |
| NodeException (const std::string &text, int nodeId) | |
| Build a new NodePException. More... | |
| virtual | ~NodeException () throw () |
| virtual int | getNodeId () const |
| Get the id of node that threw the exception. More... | |
Protected Attributes | |
| int | nodeId_ |
General exception thrown when something is wrong with a particular node.
Definition at line 57 of file TreeExceptions.h.
|
inline |
Build a new NodePException.
| text | A message to be passed to the exception hierarchy. |
| nodeId | The id of the node that threw the exception. |
Definition at line 69 of file TreeExceptions.h.
|
inlinevirtual | |||||||||||||
Definition at line 73 of file TreeExceptions.h.
|
inlinevirtual |
Get the id of node that threw the exception.
Reimplemented in bpp::NodePException.
Definition at line 81 of file TreeExceptions.h.
References nodeId_.
|
protected |
Definition at line 61 of file TreeExceptions.h.
Referenced by getNodeId(), and bpp::NodePException::getNodeId().