SFCGAL 2.3.0
SFCGAL::GeometryInvalidityException Class Reference

SFCGAL Exception thrown when invalid geometries are found before entering an algo. More...

#include <Exception.h>

Inheritance diagram for SFCGAL::GeometryInvalidityException:
SFCGAL::Exception

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

SFCGAL Exception thrown when invalid geometries are found before entering an algo.

Constructor & Destructor Documentation

◆ GeometryInvalidityException() [1/3]

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

Constructor with message.

Parameters
messageThe exception message

◆ GeometryInvalidityException() [2/3]

SFCGAL::GeometryInvalidityException::GeometryInvalidityException ( const GeometryInvalidityException & )
defaultnoexcept

Copy constructor.

◆ GeometryInvalidityException() [3/3]

SFCGAL::GeometryInvalidityException::GeometryInvalidityException ( GeometryInvalidityException && )
defaultnoexcept

Move constructor.

◆ ~GeometryInvalidityException()

SFCGAL::GeometryInvalidityException::~GeometryInvalidityException ( )
overridedefaultnoexcept

Destructor.

Member Function Documentation

◆ operator=() [1/2]

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

Copy assignment operator.

Returns
Reference to this exception

◆ operator=() [2/2]

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

Move assignment operator.

Returns
Reference to this exception