You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by na...@apache.org on 2007/09/20 04:27:54 UTC
svn commit: r577512 -
/xml/xindice/trunk/java/src/org/apache/xindice/core/query/TextQueryResolver.java
Author: natalia
Date: Wed Sep 19 19:27:54 2007
New Revision: 577512
URL: http://svn.apache.org/viewvc?rev=577512&view=rev
Log:
Fix QueryException handling
Modified:
xml/xindice/trunk/java/src/org/apache/xindice/core/query/TextQueryResolver.java
Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/query/TextQueryResolver.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/query/TextQueryResolver.java?rev=577512&r1=577511&r2=577512&view=diff
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/core/query/TextQueryResolver.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/core/query/TextQueryResolver.java Wed Sep 19 19:27:54 2007
@@ -75,6 +75,8 @@
}
Analyzer an = idx.getAnalyzer();
compiledQuery = new QueryParser("", an).parse(query);
+ } catch (QueryException e) {
+ throw e;
} catch (DBException e) {
throw new QueryException(FaultCodes.QRY_COMPILATION_ERROR, "Failed to compile the query due to database error", e);
} catch (ParseException e) {