40 { m_cachedWhat =
what; }
48 virtual char const *
what() const noexcept override final
49 {
return m_cachedWhat.c_str(); }
60 thread_local
static std::ostringstream m_formattingOSS;
This file provides the infrastructure to capture external errors.
Exception class used for special control flow.
std::string string
String type.
Exception class used to report errors from type conversion.
BadTypeError()
Default constructor.
BadTypeError(std::string const &what)
Constructor.
Struct to construct the diagnostic message object.
Exception class used to report domain errors. Generally, the domain of a mathematical function is the...
DomainError(std::string const &what)
Constructor.
DomainError()
Default constructor.
Geos Exception used in GEOS_THROW.
virtual char const * what() const noexcept override final
System fallback to get description content if error system does not achieve to output the ErrorMsg ca...
void prepareWhat(DiagnosticMsg &msg) noexcept
Prepare and cache the formatted exception message.
Exception(std::string const &what)
Constructor.
Exception class used to report bad GEOS state.
LogicError(std::string const &what)
Constructor.
LogicError()
Default constructor.
Exception class used to report errors in user input.
RuntimeError(std::string const &what)
Constructor.
Exception class used to report errors related to the simulation.
SimulationError()
Default constructor.
SimulationError(std::exception const &subException, std::string const &msgToInsert)
Construct a SimulationError from an underlying exception.
SimulationError(std::string const &what)
Constructor.
SimulationError(char const *const what)
Constructor.