neo4j/community — Issue #79: declare the Index<T>.query() methods to throw ParseException
Author: st-p
Created: 2011-10-29 10:17:13+00:00
State: open

if the org.neo4j.graphdb.index.Index.query() methods are passed malformed query expressions, they throw a RuntimeException as of 1.5.02M. in order to be able to catch the nested org.apache.lucene.queryParser.ParseException it would be desirable to have the query methods throwing the ParseException directly, since it is bad style to catch a general RuntimeException.