SFCGAL
Public Member Functions | Protected Attributes | List of all members
SFCGAL::Exception Class Reference

Base SFCGAL Exception. More...

#include <Exception.h>

Inheritance diagram for SFCGAL::Exception:
SFCGAL::GeometryInvalidityException SFCGAL::InappropriateGeometryException SFCGAL::NonFiniteValueException SFCGAL::NotImplementedException SFCGAL::WktParseException

Public Member Functions

 Exception () throw ()
 
 Exception (std::string const &message) throw ()
 
virtual ~Exception () throw ()
 
virtual const char * what () const throw ()
 returns the exception message More...
 
std::string diagnostic () const throw ()
 returns diagnostic information (file, line, etc.) More...
 

Protected Attributes

std::string _message
 

Detailed Description

Base SFCGAL Exception.

BOOST_THROW_EXCEPTION( Exception("invalid geometry") );
Exception()
Definition: Exception.cpp:12

Constructor & Destructor Documentation

◆ Exception() [1/2]

SFCGAL::Exception::Exception ( )
throw (
)

◆ Exception() [2/2]

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

◆ ~Exception()

SFCGAL::Exception::~Exception ( )
throw (
)
virtual

Member Function Documentation

◆ diagnostic()

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

returns diagnostic information (file, line, etc.)

◆ what()

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

returns the exception message

Member Data Documentation

◆ _message

std::string SFCGAL::Exception::_message
protected