[geos-devel] PostGIS Exception Catching

Paul Ramsey pramsey at refractions.net
Mon Jun 2 13:35:40 EDT 2003


Check the code, I think all exceptions are now explcit classes. I saw 
several new exception classes added in Yury's last pass.
P.


David Blasby wrote:
> Paul Ramsey wrote:
> 
>> Well, since the underlying GEOS code is throwing an exception which 
>> probably contains a little descriptive text, perhaps parrotting the 
>> GEOS information would be a good first step.
> 
> 
> As it stands now, there is no exception information comming out of geos.
> 
> I'm using
> 
> try
>    {
>      ....
>    }
> catch (...)
> {
> }
> 
> So I dont know what being thrown from geos.
> 
> I think Yuri's todo list has items to make sure that type-catchable 
> exception are thrown.  Once that is done, I will have to re-write the 
> exception thowing/catching/reporting code substantially.
> 
> dave
> 
> 
> _______________________________________________
> 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