lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Messer <bmes...@apache.org>
Subject Re: cvs commit: jakarta-lucene/src/java/org/apache/lucene/index SegmentReader.java
Date Thu, 18 Nov 2004 18:44:30 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).
>  
>
changed and committed.

regards
Bernhard


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message