The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::DAG::CycleException Class Reference
Inheritance diagram for sparta::DAG::CycleException:
Collaboration diagram for sparta::DAG::CycleException:

Public Member Functions

 CycleException (const typename Vertex::VertexList &cycle_set)
 
 CycleException (const std::string &reason)
 
void writeCycleAsDOT (std::ostream &os) const
 
void writeCycleAsText (std::ostream &os) const
 
- Public Member Functions inherited from sparta::SpartaException
 SpartaException ()
 Construct a SpartaException object with empty reason.
 
 SpartaException (const std::string &reason)
 Construct a SpartaException object.
 
 SpartaException (const SpartaException &orig)
 Copy construct a SpartaException object.
 
virtual ~SpartaException () noexcept
 Destroy!
 
const char * what () const noexcept
 Overload from std::exception.
 
std::string backtrace () const noexcept
 Returns the backtrace at the time this exception was generated.
 
std::string rawReason () const
 Return the raw reason without file, line information.
 
template<class T >
SpartaExceptionoperator<< (const T &msg)
 Append additional information to the message.
 

Detailed Description

Definition at line 52 of file DAG.hpp.

Constructor & Destructor Documentation

◆ CycleException() [1/2]

sparta::DAG::CycleException::CycleException ( const typename Vertex::VertexList &  cycle_set)
inline

Definition at line 55 of file DAG.hpp.

◆ CycleException() [2/2]

sparta::DAG::CycleException::CycleException ( const std::string &  reason)
inline

Definition at line 60 of file DAG.hpp.


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