lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: svn commit: r164695 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/search/ src/java/org/apache/lucene/search/ src/java/org/apache/lucene/search/ src/test/org/apache/lucene/
Date Tue, 26 Apr 2005 19:51:03 GMT
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?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message