Ben Caradoc-Davies ha scritto:
> I am happy for libraries to throw exceptions, I just dislike the 
> language micromanaging my handling of them.

See this comment from Florence:

> hmm.. may be or may be it is related to issue ben just raised
> regarding "no ioexception being catch in feature collection and
> feature iterators interfaces".  As I do see this warning message in
> geoserver log file everytime my geoserver mapping has some wrong
> mapping :  "There is code leaving feature readers/iterators open,
> this is leaking statements and connections!"

And indeed this is true. But not having anything forcing you
to handle exceptions here and there there are blocks of code
that forget to close the iterators

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to