From: <ap...@vh...> - 2005-09-21 17:18:21
|
Author: apevec Date: 2005-09-21 19:09:00 +0200 (Wed, 21 Sep 2005) New Revision: 888 Modified: trunk/ccm-core/src/com/arsdigita/search/lucene/LuceneConfig.java Log: don't try to recover from a class loading issues, it's prolly a typo in config parameter value Modified: trunk/ccm-core/src/com/arsdigita/search/lucene/LuceneConfig.java =================================================================== --- trunk/ccm-core/src/com/arsdigita/search/lucene/LuceneConfig.java 2005-09-21 17:01:27 UTC (rev 887) +++ trunk/ccm-core/src/com/arsdigita/search/lucene/LuceneConfig.java 2005-09-21 17:09:00 UTC (rev 888) @@ -20,6 +20,7 @@ import com.arsdigita.runtime.AbstractConfig; import com.arsdigita.runtime.CCM; +import com.arsdigita.util.UncheckedWrapperException; import com.arsdigita.util.parameter.IntegerParameter; import com.arsdigita.util.parameter.Parameter; import com.arsdigita.util.parameter.StringParameter; @@ -85,8 +86,8 @@ try { m_analyzerClass = Class.forName(className); } catch (Exception ex) { - LOG.error("Unable to load "+className+", using StandardAnalyzer", ex); - return new StandardAnalyzer(); + LOG.error("Unable to load "+className); + throw new UncheckedWrapperException(ex); } } try { |