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

Description

Error when attaching a vertex to a tree would cause a cycle.

If the operation were allowed to continue without throwing an exception, the data structure would no longer be a tree.

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

#include <Rose/Tree/Exception.h>

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

Public Member Functions

 CycleError (const BasePtr &)
 Construct a new error with the node 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::CycleError::CycleError ( const BasePtr )
explicit

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


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