Skip to content

Class SFCGAL::Exception

ClassList > SFCGAL > Exception

More...

  • #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 ()
Exception (std::string const & message)
std::string diagnostic () const
virtual const char * what () const
virtual ~Exception ()

Protected Attributes

Type Name
std::string _message

Detailed Description

Base SFCGAL Exception

BOOST_THROW_EXCEPTION( Exception("invalid geometry") );

Public Functions Documentation

function Exception [1/2]

SFCGAL::Exception::Exception () 

function Exception [2/2]

SFCGAL::Exception::Exception (
    std::string const & message
) 

function diagnostic

std::string SFCGAL::Exception::diagnostic () const

returns diagnostic information (file, line, etc.)


function what

virtual const char * SFCGAL::Exception::what () const

returns the exception message


function ~Exception

virtual SFCGAL::Exception::~Exception () 

Protected Attributes Documentation

variable _message

std::string SFCGAL::Exception::_message;


The documentation for this class was generated from the following file /builds/florent_fougeres/SFCGAL/src/Exception.h