[geos-devel] GEOS Exceptions

strk at refractions.net strk at refractions.net
Mon Apr 18 13:11:48 EDT 2005


On Mon, Apr 18, 2005 at 01:09:06PM -0400, Mark Coletti wrote:
> On 4/18/05, strk at refractions.net <strk at refractions.net> wrote:
> > On Mon, Apr 18, 2005 at 11:16:45AM -0400, Frank Warmerdam wrote:
> > > Folks,
> > >
> > > I must confess I am not a particular advanced C++ programmer.  I
> > > tend to avoid use of C++ exceptions, so now I find myself in a situation
> > > where I am not quite sure what to do.
> > 
> > I really think this is a GEOS bug, in that it throws by pointer
> > instead of by reference.
> > I'm somehow happy to know you faced this so maybe you'll support a
> > switch to a throw-by-reference-of-std::exception-derived, altought
> > it will be a big API break.
> 
> strk, didn't we have correspondence a while ago about this very issue?  I think
> I supplied you with patches that would not only fix the
> throw-by-reference-of-std::exception-derived implementation, but
> patched the
> dependent areas of the code.

We surely did, and I didn't apply them to avoid breaking the API.
I hope they'll cleanly apply when we finally decide to do the break.
(dependent areas are all client applications!)
--strk;

> 
> Cheers!
> 
> MAC
> -- 
> I'm taking reality in small doses to build immunity.
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel



More information about the geos-devel mailing list