bpp-phyl
2.2.0
|
General exception thrown when something wrong happened in a tree. More...
#include <Bpp/Phyl/TreeExceptions.h>
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 () throw () |
virtual const Tree * | getTree () const |
Get the tree that threw the exception. More... | |
Private Attributes | |
const Tree * | tree_ |
General exception thrown when something wrong happened in a tree.
Definition at line 222 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 68 of file TreeExceptions.cpp.
|
inline |
Definition at line 237 of file TreeExceptions.h.
|
inlinevirtual |
Definition at line 249 of file TreeExceptions.h.
|
inlinevirtual |
Get the tree that threw the exception.
Definition at line 257 of file TreeExceptions.h.
References tree_.
|
inline |
Definition at line 242 of file TreeExceptions.h.
References tree_.
|
private |
Definition at line 226 of file TreeExceptions.h.
Referenced by getTree(), and operator=().