[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xindice-dev
Subject:    svn commit: r577512 -
From:       natalia () apache ! org
Date:       2007-09-20 2:27:54
Message-ID: 20070920022755.1BE011A983A () eris ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic