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

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

#include <GeosExceptions.hpp>

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

Public Member Functions

 InputError (std::string const &what)
 Constructor. More...
 
 InputError ()
 Default constructor.
 
 InputError (char const *const what)
 Constructor. More...
 
 InputError (std::exception const &subException, std::string const &msgToInsert)
 Constructs an InputError 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 in user input.

Definition at line 120 of file GeosExceptions.hpp.

Constructor & Destructor Documentation

◆ InputError() [1/3]

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

Constructor.

Parameters
whatthe error message

Definition at line 126 of file GeosExceptions.hpp.

◆ InputError() [2/3]

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

Constructor.

Parameters
whatthe error message

Definition at line 139 of file GeosExceptions.hpp.

◆ InputError() [3/3]

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

Constructs an InputError from an underlying exception.

Parameters
subExceptionThe exception on which the created one is based.
msgToInsertThe error message that will be inserted in the subException error message.

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