Searched refs:ParserException (Results 1 - 25 of 38) sorted by relevance

12

/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/
H A DParserException.java25 public class ParserException extends Exception { class in inherits:Exception
30 public ParserException() { method in class:ParserException
36 public ParserException(String message) { method in class:ParserException
43 public ParserException(String message, Throwable cause) { method in class:ParserException
49 public ParserException(Throwable cause) { method in class:ParserException
H A DFilterBuilder.java29 public Filter getFilter(Element e) throws ParserException;
H A DQueryBuilder.java27 public Query getQuery(Element e) throws ParserException;
H A DFilterBuilderFactory.java34 public Filter getFilter(Element n) throws ParserException {
38 throw new ParserException("No FilterBuilder defined for node "+n.getNodeName());
H A DQueryBuilderFactory.java34 public Query getQuery(Element n) throws ParserException {
38 throw new ParserException("No QueryObjectBuilder defined for node "+n.getNodeName());
H A DDOMUtils.java33 public static Element getChildByTagOrFail(Element e, String name) throws ParserException
38 throw new ParserException(e.getTagName() + " missing \"" + name
44 public static Element getFirstChildOrFail(Element e) throws ParserException
49 throw new ParserException(e.getTagName()
55 public static String getAttributeOrFail(Element e, String name) throws ParserException
60 throw new ParserException(e.getTagName() + " missing \"" + name
65 public static String getAttributeWithInheritanceOrFail(Element e, String name) throws ParserException
70 throw new ParserException(e.getTagName() + " missing \"" + name
75 public static String getNonBlankTextOrFail(Element e) throws ParserException
82 throw new ParserException(
[all...]
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/
H A DSpanBuilderBase.java4 import org.apache.lucene.xmlparser.ParserException;
28 public Query getQuery(Element e) throws ParserException
H A DSpanQueryBuilder.java19 import org.apache.lucene.xmlparser.ParserException;
26 public SpanQuery getSpanQuery(Element e) throws ParserException;
H A DSpanQueryBuilderFactory.java7 import org.apache.lucene.xmlparser.ParserException;
33 public Query getQuery(Element e) throws ParserException {
40 public SpanQuery getSpanQuery(Element e) throws ParserException
45 throw new ParserException("No SpanQueryObjectBuilder defined for node "+e.getNodeName());
H A DMatchAllDocsQueryBuilder.java5 import org.apache.lucene.xmlparser.ParserException;
30 public Query getQuery(Element e) throws ParserException
H A DDuplicateFilterBuilder.java10 import org.apache.lucene.xmlparser.ParserException;
36 public Filter getFilter(Element e) throws ParserException {
51 throw new ParserException("Illegal keepMode attribute in DuplicateFilter:"+keepMode);
65 throw new ParserException("Illegal processingMode attribute in DuplicateFilter:"+processingMode);
H A DBoostingTermBuilder.java8 import org.apache.lucene.xmlparser.ParserException;
34 public SpanQuery getSpanQuery(Element e) throws ParserException
H A DConstantScoreQueryBuilder.java7 import org.apache.lucene.xmlparser.ParserException;
39 public Query getQuery(Element e) throws ParserException
H A DRangeFilterBuilder.java10 import org.apache.lucene.xmlparser.ParserException;
36 public Filter getFilter(Element e) throws ParserException {
H A DSpanFirstBuilder.java6 import org.apache.lucene.xmlparser.ParserException;
38 public SpanQuery getSpanQuery(Element e) throws ParserException
H A DSpanTermBuilder.java7 import org.apache.lucene.xmlparser.ParserException;
32 public SpanQuery getSpanQuery(Element e) throws ParserException
H A DTermQueryBuilder.java7 import org.apache.lucene.xmlparser.ParserException;
32 public Query getQuery(Element e) throws ParserException {
H A DBooleanQueryBuilder.java10 import org.apache.lucene.xmlparser.ParserException;
47 public Query getQuery(Element e) throws ParserException {
69 static BooleanClause.Occur getOccursValue(Element clauseElem) throws ParserException
93 throw new ParserException("Invalid value for \"occurs\" attribute of clause:"+occs);
H A DNumericRangeQueryBuilder.java24 import org.apache.lucene.xmlparser.ParserException;
84 * A {@link ParserException} will be thrown if an error occurs parsing the
90 public Query getQuery(Element e) throws ParserException {
118 throw new ParserException(
123 throw new ParserException(
H A DSpanOrTermsBuilder.java15 import org.apache.lucene.xmlparser.ParserException;
50 public SpanQuery getSpanQuery(Element e) throws ParserException
74 throw new ParserException("IOException parsing value:"+value);
H A DUserInputQueryBuilder.java8 import org.apache.lucene.xmlparser.ParserException;
58 public Query getQuery(Element e) throws ParserException {
81 throw new ParserException(e1.getMessage());
H A DNumericRangeFilterBuilder.java29 import org.apache.lucene.xmlparser.ParserException;
102 * {@link ParserException} if it is unable to parse the lowerTerm or upperTerm
115 public Filter getFilter(Element e) throws ParserException {
143 throw new ParserException(
149 throw new ParserException(
H A DBooleanFilterBuilder.java12 import org.apache.lucene.xmlparser.ParserException;
46 public Filter getFilter(Element e) throws ParserException {
H A DBoostingQueryBuilder.java6 import org.apache.lucene.xmlparser.ParserException;
40 public Query getQuery(Element e) throws ParserException
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/
H A DTestParser.java93 public void testSimpleXML() throws ParserException, IOException
98 public void testSimpleTermsQueryXML() throws ParserException, IOException
103 public void testBooleanQueryXML() throws ParserException, IOException
108 public void testRangeFilterQueryXML() throws ParserException, IOException
113 public void testUserQueryXML() throws ParserException, IOException
119 public void testCustomFieldUserQueryXML() throws ParserException, IOException
167 public void testMatchAllDocsPlusFilterXML() throws ParserException, IOException
172 public void testBooleanFilterXML() throws ParserException, IOException
177 public void testNestedBooleanQuery() throws ParserException, IOException
182 public void testCachedFilterXML() throws ParserException, IOExceptio
[all...]

Completed in 15 milliseconds

12