SFCGAL  1.3.0
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") );

Constructor & Destructor Documentation

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

Member Function Documentation

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

returns diagnostic information (file, line, etc.)

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

returns the exception message

Member Data Documentation

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