SFCGAL  2.3.0
Public Member Functions | List of all members
SFCGAL::InappropriateGeometryException Class Reference

SFCGAL Exception thrown when geometry is inappropriate for a function. More...

#include <Exception.h>

Inheritance diagram for SFCGAL::InappropriateGeometryException:
SFCGAL::Exception

Public Member Functions

 InappropriateGeometryException (std::string const &message) noexcept
 Constructor with message. More...
 
 InappropriateGeometryException (const InappropriateGeometryException &) noexcept=default
 Copy constructor. More...
 
auto operator= (const InappropriateGeometryException &) noexcept-> InappropriateGeometryException &=default
 Copy assignment operator. More...
 
 InappropriateGeometryException (InappropriateGeometryException &&) noexcept=default
 Move constructor. More...
 
auto operator= (InappropriateGeometryException &&) noexcept-> InappropriateGeometryException &=default
 Move assignment operator. More...
 
 ~InappropriateGeometryException () noexcept override
 Destructor. More...
 
- Public Member Functions inherited from SFCGAL::Exception
 Exception () noexcept
 Default constructor. More...
 
 Exception (std::string const &message) noexcept
 Constructor with message. More...
 
 Exception (const Exception &) noexcept=default
 Copy constructor. More...
 
auto operator= (const Exception &) noexcept-> Exception &=default
 Copy assignment operator. More...
 
 Exception (Exception &&) noexcept=default
 Move constructor. More...
 
auto operator= (Exception &&) noexcept-> Exception &=default
 Move assignment operator. More...
 
 ~Exception () noexcept override
 Destructor. More...
 
auto what () const noexcept-> const char *override
 returns the exception message More...
 
auto diagnostic () const noexcept-> std::string
 returns diagnostic information (file, line, etc.) More...
 

Additional Inherited Members

- Protected Attributes inherited from SFCGAL::Exception
std::string _message
 Exception message. More...
 

Detailed Description

SFCGAL Exception thrown when geometry is inappropriate for a function.

Constructor & Destructor Documentation

SFCGAL::InappropriateGeometryException::InappropriateGeometryException ( std::string const &  message)
explicitnoexcept

Constructor with message.

Parameters
messageThe exception message
SFCGAL::InappropriateGeometryException::InappropriateGeometryException ( const InappropriateGeometryException &  )
defaultnoexcept

Copy constructor.

SFCGAL::InappropriateGeometryException::InappropriateGeometryException ( InappropriateGeometryException &&  )
defaultnoexcept

Move constructor.

SFCGAL::InappropriateGeometryException::~InappropriateGeometryException ( )
overridedefaultnoexcept

Destructor.

Member Function Documentation

auto SFCGAL::InappropriateGeometryException::operator= ( const InappropriateGeometryException &  ) -> InappropriateGeometryException &=default
defaultnoexcept

Copy assignment operator.

Returns
Reference to this exception
auto SFCGAL::InappropriateGeometryException::operator= ( InappropriateGeometryException &&  ) -> InappropriateGeometryException &=default
defaultnoexcept

Move assignment operator.

Returns
Reference to this exception