bpp-phyl3
3.0.0
|
General exception thrown when something wrong happened in a tree. More...
#include <Bpp/Phyl/Tree/PhyloTreeExceptions.h>
Public Member Functions | |
PhyloTreeException (const std::string &text, const PhyloTree *tree=0) | |
Build a new PhyloTreeException. More... | |
PhyloTreeException (const PhyloTreeException &tex) | |
PhyloTreeException & | operator= (const PhyloTreeException &tex) |
virtual | ~PhyloTreeException () |
virtual const PhyloTree * | 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 PhyloTree * | tree_ |
std::string | message_ |
General exception thrown when something wrong happened in a tree.
Definition at line 393 of file PhyloTreeExceptions.h.
PhyloTreeException::PhyloTreeException | ( | const std::string & | text, |
const PhyloTree * | tree = 0 |
||
) |
Build a new PhyloTreeException.
text | A message to be passed to the exception hierarchy. |
tree | A const pointer toward the tree that threw the exception. |
Definition at line 63 of file PhyloTreeExceptions.cpp.
|
inline |
Definition at line 408 of file PhyloTreeExceptions.h.
|
inlinevirtual |
Definition at line 420 of file PhyloTreeExceptions.h.
|
inlinevirtual |
Get the tree that threw the exception.
Definition at line 428 of file PhyloTreeExceptions.h.
References tree_.
|
inline |
Definition at line 413 of file PhyloTreeExceptions.h.
References tree_.
|
private |
Definition at line 397 of file PhyloTreeExceptions.h.
Referenced by getTree(), and operator=().