|
ROSE 0.11.145.354
|
Error when attaching a vertex to a tree and the vertex is already attached somewhere else.
If the operation were allowed to continue without throwing an exception, the data structure would no longer be a tree.
#include <Sawyer/Tree.h>


Public Member Functions | |
| InsertionError (const UserBasePtr &vertex) | |
| Construct a new error with the vertex that caused the error. | |
Public Member Functions inherited from Sawyer::Tree::Vertex< B >::Exception | |
| Exception (const std::string &mesg, const UserBasePtr &vertex) | |
| Construct a new error with the specified message and the causing vertex. | |
Public Member Functions inherited from Sawyer::Exception::RuntimeError | |
| RuntimeError (const std::string &mesg) | |
| Constructor taking a description of the error. | |
Additional Inherited Members | |
Public Attributes inherited from Sawyer::Tree::Vertex< B >::Exception | |
| UserBasePtr | vertex |
| Vertex that caused the error. | |
|
inlineexplicit |