lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <daniel.na...@t-online.de>
Subject Re: cvs commit: jakarta-lucene/src/java/org/apache/lucene/index SegmentReader.java
Date Tue, 16 Nov 2004 23:08:31 GMT
On Tuesday 16 November 2004 22:56, bmesser@apache.org wrote:

>   +      throw new RuntimeException("cannot load SegmentReader class: "
> + e.getMessage());

I think it's better to leave out the call to getMessage(), as the 
toString() which is then used automatically is slightly more verbose, it 
contains the real name of the exception ("ClassNotFoundException" in this 
case).

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message