commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <>
Subject Re: [all][math] Help wanted with exceptions API design
Date Tue, 01 Feb 2011 17:13:22 GMT

What about IOException?  I was under the impression that people use that ALL
the time.  The specializations EOFException and FileNotFoundException are
very handy when you want the specific case and the general version is nice
when you want to trap and possibly wrap all of the exceptions in one go.

On Tue, Feb 1, 2011 at 5:47 AM, Gilles Sadowski <> wrote:

> > In general though, the main advice is to keep it simple. People rarely
> > use exception hierarchies.
> Although you said that it saved your day to have a parent exception ;-).

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message