[jdom-interest] IOExceptions in createDocument() in adapterclasses

Jason Hunter jhunter at acm.org
Fri Apr 5 13:39:44 PST 2002

Elliotte Rusty Harold wrote:
> At 11:39 AM -0800 4/5/02, Jason Hunter wrote:
> >Good points.  Care to submit a patch?
> OK. Do you have a strong opinion about whether this should percolate
> the original exception or wrap it in a JDOMException?

It's probably safest to wrap it in a JDOMException because you never
know what exception type an underlying parser configuration call might
throw.  The adapter notion is necessary, after all, because we're
calling methods that aren't specified in any spec.


More information about the jdom-interest mailing list