SFCGAL 2.3.0
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.
 InappropriateGeometryException (const InappropriateGeometryException &) noexcept=default
 Copy constructor.
auto operator= (const InappropriateGeometryException &) noexcept -> InappropriateGeometryException &=default
 Copy assignment operator.
 InappropriateGeometryException (InappropriateGeometryException &&) noexcept=default
 Move constructor.
auto operator= (InappropriateGeometryException &&) noexcept -> InappropriateGeometryException &=default
 Move assignment operator.
 ~InappropriateGeometryException () 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 geometry is inappropriate for a function.

Constructor & Destructor Documentation

◆ InappropriateGeometryException() [1/3]

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

Constructor with message.

Parameters
messageThe exception message

◆ InappropriateGeometryException() [2/3]

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

Copy constructor.

◆ InappropriateGeometryException() [3/3]

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

Move constructor.

◆ ~InappropriateGeometryException()

SFCGAL::InappropriateGeometryException::~InappropriateGeometryException ( )
overridedefaultnoexcept

Destructor.

Member Function Documentation

◆ operator=() [1/2]

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

Copy assignment operator.

Returns
Reference to this exception

◆ operator=() [2/2]

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

Move assignment operator.

Returns
Reference to this exception