[jdom-interest] IOExceptions in build methods

bob mcwhirter bob at werken.com
Tue Apr 9 17:12:37 PDT 2002

> They are catching the exceptions thrown by the underlying  XMLReader and 
> converitng them all to JDOMExceptions. I'm not sure this is always 
> correct. I agree that SAXExceptions should be converted to 
> JDOMExceptions. However, it's also masking IOExceptions. That's what I 
> don't think it shoudl be doing. 
> Thoughts?

I agree.  Dealing with IOExceptions directly from a catch(...) is much
nicer than a cascading if(..) based upon an extracted root cause.


More information about the jdom-interest mailing list