lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/index IndexWriter.java
Date Thu, 18 Nov 2004 19:15:28 GMT
dnaber      2004/11/18 11:15:28

  Modified:    src/java/org/apache/lucene/index IndexWriter.java
  Log:
  use Exception.toString() instead of getMessage() for a slighlty more verbose message
  
  Revision  Changes    Path
  1.42      +1 -1      jakarta-lucene/src/java/org/apache/lucene/index/IndexWriter.java
  
  Index: IndexWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/IndexWriter.java,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- IndexWriter.java	11 Oct 2004 21:24:39 -0000	1.41
  +++ IndexWriter.java	18 Nov 2004 19:15:28 -0000	1.42
  @@ -699,7 +699,7 @@
         } catch (IOException e) {			  // if delete fails
           if (directory.fileExists(file)) {
             if (infoStream != null)
  -            infoStream.println(e.getMessage() + "; Will re-try later.");
  +            infoStream.println(e.toString() + "; Will re-try later.");
             deletable.addElement(file);		  // add to deletable
           }
         }
  
  
  

---------------------------------------------------------------------
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