Class SFCGAL::Exception#
ClassList > SFCGAL > Exception
#include <Exception.h>
Inherits the following classes: boost::exception, std::exception
Inherited by the following classes: SFCGAL::GeometryInvalidityException, SFCGAL::InappropriateGeometryException, SFCGAL::NonFiniteValueException, SFCGAL::NotImplementedException, SFCGAL::WktParseException
Public Functions#
Type | Name |
---|---|
Exception () noexcept |
|
Exception (std::string const & message) noexcept |
|
Exception (const Exception &) noexcept |
|
Exception (Exception &&) noexcept |
|
std::string | diagnostic () noexcept const |
Exception & | operator= (const Exception &) noexcept |
Exception & | operator= (Exception &&) noexcept |
const char * | what () noexcept override const |
~Exception () noexcept override |
Protected Attributes#
Type | Name |
---|---|
std::string | _message |
Detailed Description#
BOOST_THROW_EXCEPTION( Exception("invalid geometry") );
Public Functions Documentation#
function Exception [1/4]#
SFCGAL::Exception::Exception () noexcept
function Exception [2/4]#
explicit SFCGAL::Exception::Exception (
std::string const & message
) noexcept
function Exception [3/4]#
SFCGAL::Exception::Exception (
const Exception &
) noexcept
function Exception [4/4]#
SFCGAL::Exception::Exception (
Exception &&
) noexcept
function diagnostic#
std::string SFCGAL::Exception::diagnostic () noexcept const
returns diagnostic information (file, line, etc.)
function operator=#
Exception & SFCGAL::Exception::operator= (
const Exception &
) noexcept
function operator=#
Exception & SFCGAL::Exception::operator= (
Exception &&
) noexcept
function what#
const char * SFCGAL::Exception::what () noexcept override const
returns the exception message
function ~Exception#
SFCGAL::Exception::~Exception () noexcept override
Protected Attributes Documentation#
variable _message#
std::string SFCGAL::Exception::_message;
The documentation for this class was generated from the following file /builds/sfcgal/SFCGAL/src/Exception.h