1 // Copyright 2012 Google Inc. All Rights Reserved.
3 package com
.google
.appengine
.api
.search
.query
;
6 * A parsing exception thrown when the tree resulting from
7 * parsing a query is in some sense invalid.
10 public class QueryTreeException
extends RuntimeException
{
12 private final int position
;
14 public QueryTreeException(String message
, int position
) {
16 this.position
= position
;
20 * @return the position at which the error was detected
22 public int getPosition() {