Ryan Hoegg wrote:
> Hello,
>
> I was wondering if there is any reason that XmlRpc.parse() throws a
> raw Exception? (line 342, XmlRpc.java, CVS from today about an hour
> ago)
>
> Why not create an IncompleteParserClassException or some such?

What advantage would that give us?

It's a method with only package visability. It only throws an Exception in
one case this is wrapped in a ParseFailed exception which is then seen by
code outside the package.

It seams a reasonable design decision to me.

John Wilson
The Wilson Partnership
http://www.wilson.co.uk

Reply via email to