[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-dev
Subject:    Re: svn commit: r164695 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/search/Hit.j
From:       Daniel Naber <daniel.naber () t-online ! de>
Date:       2005-04-26 19:51:03
Message-ID: 200504262151.03268 () danielnaber ! de
[Download RAW message or body]

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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic