SFCGAL  2.3.0
Public Member Functions | List of all members
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. More...
 
 WktParseException (const WktParseException &) noexcept=default
 Copy constructor. More...
 
auto operator= (const WktParseException &) noexcept-> WktParseException &=default
 Copy assignment operator. More...
 
 WktParseException (WktParseException &&) noexcept=default
 Move constructor. More...
 
auto operator= (WktParseException &&) noexcept-> WktParseException &=default
 Move assignment operator. More...
 
 ~WktParseException () 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 parsing WKT.

Constructor & Destructor Documentation

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

Constructor with message.

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

Copy constructor.

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

Move constructor.

SFCGAL::WktParseException::~WktParseException ( )
overridedefaultnoexcept

Destructor.

Member Function Documentation

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

Copy assignment operator.

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

Move assignment operator.

Returns
Reference to this exception