SFCGAL 2.3.0
SFCGAL::WktParseException Class Reference

SFCGAL Exception thrown when parsing WKT. More...

#include <Exception.h>

Inheritance diagram for SFCGAL::WktParseException:
SFCGAL::Exception

Public Member Functions

 WktParseException (std::string const &message) noexcept
 Constructor with message.
 WktParseException (const WktParseException &) noexcept=default
 Copy constructor.
auto operator= (const WktParseException &) noexcept -> WktParseException &=default
 Copy assignment operator.
 WktParseException (WktParseException &&) noexcept=default
 Move constructor.
auto operator= (WktParseException &&) noexcept -> WktParseException &=default
 Move assignment operator.
 ~WktParseException () 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 parsing WKT.

Constructor & Destructor Documentation

◆ WktParseException() [1/3]

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

Constructor with message.

Parameters
messageThe exception message

◆ WktParseException() [2/3]

SFCGAL::WktParseException::WktParseException ( const WktParseException & )
defaultnoexcept

Copy constructor.

◆ WktParseException() [3/3]

SFCGAL::WktParseException::WktParseException ( WktParseException && )
defaultnoexcept

Move constructor.

◆ ~WktParseException()

SFCGAL::WktParseException::~WktParseException ( )
overridedefaultnoexcept

Destructor.

Member Function Documentation

◆ operator=() [1/2]

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

Copy assignment operator.

Returns
Reference to this exception

◆ operator=() [2/2]

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

Move assignment operator.

Returns
Reference to this exception