GEOS
Public Member Functions | List of all members
geos::SimulationError Struct Reference

Exception class used to report errors related to the simulation. More...

#include <GeosExceptions.hpp>

Inheritance diagram for geos::SimulationError:
Inheritance graph
[legend]

Public Member Functions

 SimulationError (std::string const &what)
 Constructor. More...
 
 SimulationError ()
 Default constructor.
 
 SimulationError (char const *const what)
 Constructor. More...
 
 SimulationError (std::exception const &subException, std::string const &msgToInsert)
 Construct a SimulationError from an underlying exception. More...
 
- Public Member Functions inherited from geos::Exception
 Exception (std::string const &what)
 Constructor. More...
 
virtual char const * what () const noexcept override final
 System fallback to get description content if error system does not achieve to output the ErrorMsg can also provide exception information to debuggers. More...
 
void prepareWhat (DiagnosticMsg &msg) noexcept
 Prepare and cache the formatted exception message. More...
 

Detailed Description

Exception class used to report errors related to the simulation.

Definition at line 154 of file GeosExceptions.hpp.

Constructor & Destructor Documentation

◆ SimulationError() [1/3]

geos::SimulationError::SimulationError ( std::string const &  what)
inline

Constructor.

Parameters
whatthe error message

Definition at line 160 of file GeosExceptions.hpp.

◆ SimulationError() [2/3]

geos::SimulationError::SimulationError ( char const *const  what)
inline

Constructor.

Parameters
whatthe error message

Definition at line 173 of file GeosExceptions.hpp.

◆ SimulationError() [3/3]

geos::SimulationError::SimulationError ( std::exception const &  subException,
std::string const &  msgToInsert 
)

Construct a SimulationError from an underlying exception.

Parameters
subExceptionAn exception to base this new one on.
msgToInsertThe error message. It will be inserted before the error message inside of subException.

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