|
bpp-phyl3 3.0.0
|
General exception thrown when something wrong happened in a tree. More...
#include <Bpp/Phyl/Tree/TreeExceptions.h>
Inheritance diagram for bpp::TreeException:
Collaboration diagram for bpp::TreeException:Public Member Functions | |
| TreeException (const std::string &text, const Tree *tree=0) | |
| Build a new TreeException. More... | |
| TreeException (const TreeException &tex) | |
| TreeException & | operator= (const TreeException &tex) |
| virtual | ~TreeException () |
| virtual const Tree * | getTree () const |
| Get the tree that threw the exception. More... | |
| const char * | what () const noexcept override |
| const std::string & | message () const noexcept |
Private Attributes | |
| const Tree * | tree_ |
| std::string | message_ |
General exception thrown when something wrong happened in a tree.
Definition at line 188 of file TreeExceptions.h.
| TreeException::TreeException | ( | const std::string & | text, |
| const Tree * | tree = 0 |
||
| ) |
Build a new TreeException.
| text | A message to be passed to the exception hierarchy. |
| tree | A const pointer toward the tree that threw the exception. |
Definition at line 31 of file TreeExceptions.cpp.
|
inline |
Definition at line 203 of file TreeExceptions.h.
|
inlinevirtual |
Definition at line 215 of file TreeExceptions.h.
|
inlinevirtual |
Get the tree that threw the exception.
Definition at line 223 of file TreeExceptions.h.
References tree_.
|
inline |
Definition at line 208 of file TreeExceptions.h.
References tree_.
|
private |
Definition at line 192 of file TreeExceptions.h.
Referenced by getTree(), and operator=().