On Tuesday 26 April 2005 21:09, Erik Hatcher wrote:

> I don't know.... would it? ÂI have no preference, though it seems ok to
> me to simply return null since this is the toString method. ÂFor a
> Document, the toString is only useful for debugging anyway.

Yes, and during debugging it would be especially confusing to just hide the 
exception. Sure, people will see that there's a problem with a "null" 
document, but then why not show the exception directly?

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to