On 25/06/10 13:59, Andrea Aime wrote: > Ben Caradoc-Davies ha scritto: >> On 24/06/10 21:59, Andrea Aime wrote: >>> looking at the feature collection and feature iterators interfaces again >>> I'm seeing another serious design mistake: they don't throw IOException >>> anywhere. >> >> They should also throw SQLException. And >> PersistenceTechnologyThatHasNotYetBeenInventedCheckedException. ;-) >> >> [I'm going to hide under my desk until Andrea has cooled down.] > > If you believe packages like java.io should not throw exceptions it's > probably time to look for another programming language ;-)
I am happy for libraries to throw exceptions, I just dislike the language micromanaging my handling of them. -- Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> Software Engineering Team Leader CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ 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 Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel