ROSE  0.11.125.0
Public Member Functions | List of all members
Rose::Tree::InsertionError Class Reference

Description

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.

Definition at line 26 of file Rose/Tree/Exception.h.

#include <Rose/Tree/Exception.h>

Inheritance diagram for Rose::Tree::InsertionError:
Inheritance graph
[legend]
Collaboration diagram for Rose::Tree::InsertionError:
Collaboration graph
[legend]

Public Member Functions

 InsertionError (const BasePtr &)
 Construct a new error with the vertex that caused the error. More...
 
- Public Member Functions inherited from Rose::Tree::Exception
 Exception (const std::string &mesg, const BasePtr &)
 Construct a new error with the specified message and the causing vertex. More...
 
- Public Member Functions inherited from Rose::Exception
 Exception (const std::string &s)
 Construct an exception with an error message. More...
 

Additional Inherited Members

- Public Attributes inherited from Rose::Tree::Exception
BasePtr vertex
 Vertex that caused the error. More...
 

Constructor & Destructor Documentation

Rose::Tree::InsertionError::InsertionError ( const BasePtr )
explicit

Construct a new error with the vertex that caused the error.


The documentation for this class was generated from the following file: