Uhh... 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 < gil...@harfang.homelinux.org> 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 ;-). >