IOException is a checked exception, so it has to be specified everywhene. BuildException would be a better alternative.
- Alexey. On 6/22/05, Jesse Glick <[EMAIL PROTECTED]> wrote: > > Kev Jackson wrote: > > This came up before, but I forgot what the consensus was > > Not sure there was a consensus (or that anyone cared enough). > > > Whenever FileUtils.close() is used, any resulting exceptions are > > swallowed and no logging is performed. I'd like to propose that > > instead of this "silent death" for close, that there is instead a > > record of what happened, but that the record is voluntary > > That's one option. Another is to just assume the worst and throw the > IOException from whatever.close() - i.e. don't use FileUtil.close at > all. This idiom is > > > -- Alexey N. Solofnenko trelony at gmail.com <http://gmail.com> home: http://trelony.cjb.net/ Pleasant Hill, CA (GMT-8 hours usually)