Shapes
GIS made easy, a lightweight header-only planar geometry library for Modern C++
Public Member Functions | List of all members
simo::shapes::exceptions::parse_error Class Reference

Exception thrown when an error has been found while parsing. More...

#include <exceptions.hpp>

Inheritance diagram for simo::shapes::exceptions::parse_error:
simo::shapes::exceptions::shapes_exception

Public Member Functions

 parse_error (const std::string &reason)
 Creates a parse error with the given reason. More...
 
- Public Member Functions inherited from simo::shapes::exceptions::shapes_exception
 shapes_exception (const char *reason)
 Creates a shapes exception. More...
 
const char * what () const noexceptoverride
 Returns the exception reason. More...
 

Additional Inherited Members

- Protected Member Functions inherited from simo::shapes::exceptions::shapes_exception
void set_reason (const std::string &reason)
 Set the exception reason. More...
 

Detailed Description

Exception thrown when an error has been found while parsing.

Since
0.0.1

Definition at line 67 of file exceptions.hpp.

Constructor & Destructor Documentation

simo::shapes::exceptions::parse_error::parse_error ( const std::string &  reason)
inlineexplicit

Creates a parse error with the given reason.

Parameters
reasonthe reason message
Since
0.0.1

Definition at line 77 of file exceptions.hpp.


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