bpp-phyl
2.2.0
|
Exception thrown when a tree is expected to be rooted. More...
#include <Bpp/Phyl/TreeExceptions.h>
Public Member Functions | |
UnrootedTreeException (const std::string &text, const Tree *tree=0) | |
Build a new UnrootedTreeException. More... | |
virtual | ~UnrootedTreeException () throw () |
virtual const Tree * | getTree () const |
Get the tree that threw the exception. More... | |
Exception thrown when a tree is expected to be rooted.
Definition at line 263 of file TreeExceptions.h.
UnrootedTreeException::UnrootedTreeException | ( | const std::string & | text, |
const Tree * | tree = 0 |
||
) |
Build a new UnrootedTreeException.
text | A message to be passed to the exception hierarchy. |
tree | A const pointer toward the tree that threw the exception. |
Definition at line 74 of file TreeExceptions.cpp.
|
inlinevirtual |
Definition at line 275 of file TreeExceptions.h.
|
inlinevirtualinherited |
Get the tree that threw the exception.
Definition at line 257 of file TreeExceptions.h.
References bpp::TreeException::tree_.