clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1470372 - /clerezza/trunk/rdf.cris/core/src/main/java/org/apache/clerezza/rdf/cris/LuceneTools.java
Date Mon, 22 Apr 2013 01:33:54 GMT
Author: reto
Date: Mon Apr 22 01:33:54 2013
New Revision: 1470372

URL: http://svn.apache.org/r1470372
Log:
CLEREZZA-777: forwarding exception

Modified:
    clerezza/trunk/rdf.cris/core/src/main/java/org/apache/clerezza/rdf/cris/LuceneTools.java

Modified: clerezza/trunk/rdf.cris/core/src/main/java/org/apache/clerezza/rdf/cris/LuceneTools.java
URL: http://svn.apache.org/viewvc/clerezza/trunk/rdf.cris/core/src/main/java/org/apache/clerezza/rdf/cris/LuceneTools.java?rev=1470372&r1=1470371&r2=1470372&view=diff
==============================================================================
--- clerezza/trunk/rdf.cris/core/src/main/java/org/apache/clerezza/rdf/cris/LuceneTools.java
(original)
+++ clerezza/trunk/rdf.cris/core/src/main/java/org/apache/clerezza/rdf/cris/LuceneTools.java
Mon Apr 22 01:33:54 2013
@@ -130,9 +130,8 @@ public class LuceneTools {
             //indexWriter.setMergeFactor(1000);
             return indexWriter;
         } catch (Exception ex) {
-            logger.error(ex.getMessage());
+            throw new RuntimeException("Could not initialize IndexWriter", ex);
         } 
-        throw new RuntimeException("Could not initialize IndexWriter");
     }
 
     /**



Mime
View raw message