Fwd: Re: [jdom-interest] NoSuch*Exceptions in JDOM
David Williams
xiarcel at yahoo.com
Tue Jun 27 11:09:45 PDT 2000
What would be the proposed benefit for returning a
null value rather than an exception?
Exceptions can sometimes allow you more flexibility
when handling things... for example.. if the child
that wasn't found WAS the entire HTML document, you
could abort the rest of the process and/or start over,
rather than proceed with a value that is null or
set...
Or maybe I've misunderstood the discussion?? (I did
enter mid-stream)
~Dave
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
-------------- next part --------------
An embedded message was scrubbed...
From: Brett McLaughlin <brett.mclaughlin at lutris.com>
Subject: Re: [jdom-interest] NoSuch*Exceptions in JDOM
Date: Tue, 27 Jun 2000 12:55:39 -0500
Size: 3604
Url: http://jdom.org/pipermail/jdom-interest/attachments/20000627/aada94b0/attachment.eml
More information about the jdom-interest
mailing list