[geos-devel] GEOSException: std:exception

strk at refractions.net strk at refractions.net
Thu Feb 9 10:58:45 EST 2006


I've finally committed the long standing GEOSException model change.
>From now on, GEOSExceptions are thrown by const ref, rather then
by pointer.

Also, GEOSException now derives from std::exception, so if you
cleanly catch (const std::exception&) you'd be all fine with
the change, except from fine-tuned catches.

I hope this won't be too much of a problem for existing code.
(there'll be much more with next release, anyway)

--strk;



More information about the geos-devel mailing list