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

Exception class used to report errors in user input. More...

#include <Logger.hpp>

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

Public Member Functions

 SimulationError (std::string const &what)
 Constructor. More...
 
 SimulationError (char const *const what)
 Constructor. More...
 
 SimulationError (std::exception const &subException, std::string const &msgToInsert)
 Construct a SimulationError from an underlying exception. More...
 

Detailed Description

Exception class used to report errors in user input.

Definition at line 492 of file Logger.hpp.

Constructor & Destructor Documentation

◆ SimulationError() [1/3]

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

Constructor.

Parameters
whatthe error message

Definition at line 498 of file Logger.hpp.

◆ SimulationError() [2/3]

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

Constructor.

Parameters
whatthe error message

Definition at line 506 of file Logger.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: