Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 15816 invoked from network); 26 Apr 2005 19:51:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Apr 2005 19:51:25 -0000 Received: (qmail 7415 invoked by uid 500); 26 Apr 2005 19:52:07 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 7384 invoked by uid 500); 26 Apr 2005 19:52:07 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 7371 invoked by uid 99); 26 Apr 2005 19:52:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mailout09.sul.t-online.com (HELO mailout09.sul.t-online.com) (194.25.134.84) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 26 Apr 2005 12:52:06 -0700 Received: from fwd16.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1DQW5W-0002V7-07; Tue, 26 Apr 2005 21:51:18 +0200 Received: from p54967784.dip.t-dialin.net (Vr5f+ZZe8eowhIUwe-gQK1vmSIjFdqYDvhnZvYAEvQwnZYYpuRQq6A@[84.150.119.132]) by fwd16.sul.t-online.de with esmtp id 1DQW5R-1gSvxo0; Tue, 26 Apr 2005 21:51:13 +0200 From: Daniel Naber To: java-dev@lucene.apache.org Subject: Re: svn commit: r164695 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/search/Hit.java src/java/org/apache/lucene/search/HitIterator.java src/java/org/apache/lucene/search/Hits.java src/test/org/apache/lucene/TestHitIterator.java Date: Tue, 26 Apr 2005 21:51:03 +0200 User-Agent: KMail/1.8 References: <20050426002155.94510.qmail@minotaur.apache.org> <200504262038.43762@danielnaber.de> <745a9b4a7a23cc308e0851c69b873131@ehatchersolutions.com> In-Reply-To: <745a9b4a7a23cc308e0851c69b873131@ehatchersolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200504262151.03268@danielnaber.de> X-ID: Vr5f+ZZe8eowhIUwe-gQK1vmSIjFdqYDvhnZvYAEvQwnZYYpuRQq6A@t-dialin.net X-TOI-MSGID: fa806679-224b-4664-ba7f-6aeca6582ca5 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tuesday 26 April 2005 21:09, Erik Hatcher wrote: > I don't know.... would it? =C2=A0I have no preference, though it seems ok= to > me to simply return null since this is the toString method. =C2=A0For a > Document, the toString is only useful for debugging anyway. Yes, and during debugging it would be especially confusing to just hide the= =20 exception. Sure, people will see that there's a problem with a "null"=20 document, but then why not show the exception directly? Regards Daniel =2D-=20 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