ROSE 0.11.145.192
Public Member Functions | Public Attributes | List of all members
Sawyer::Tree::Vertex< B >::Exception Class Reference

Description

template<class B>
class Sawyer::Tree::Vertex< B >::Exception

Base class for errors and exceptions for this vertex type.

Definition at line 146 of file Tree.h.

#include <Sawyer/Tree.h>

Inheritance diagram for Sawyer::Tree::Vertex< B >::Exception:
Inheritance graph
[legend]
Collaboration diagram for Sawyer::Tree::Vertex< B >::Exception:
Collaboration graph
[legend]

Public Member Functions

 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.
 

Public Attributes

UserBasePtr vertex
 Vertex that caused the error.
 

Constructor & Destructor Documentation

◆ Exception()

template<class B >
Sawyer::Tree::Vertex< B >::Exception::Exception ( const std::string &  mesg,
const UserBasePtr vertex 
)
inline

Construct a new error with the specified message and the causing vertex.

Definition at line 152 of file Tree.h.

◆ ~Exception()

template<class B >
Sawyer::Tree::Vertex< B >::Exception::~Exception ( )
inline

Definition at line 155 of file Tree.h.

Member Data Documentation

◆ vertex

template<class B >
UserBasePtr Sawyer::Tree::Vertex< B >::Exception::vertex

Vertex that caused the error.

Definition at line 149 of file Tree.h.


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