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

Exception thrown when a sequence index is out of range. More...

#include <exceptions.hpp>

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

Public Member Functions

 index_error (const std::string &reason)
 Creates a index error exception. 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 a sequence index is out of range.

Since
0.0.1

Definition at line 143 of file exceptions.hpp.

Constructor & Destructor Documentation

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

Creates a index error exception.

Parameters
reasonthe exception reason
Since
0.0.1

Definition at line 153 of file exceptions.hpp.


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