01: package org.compass.core.engine;
02:
03: import org.compass.core.CompassException;
04:
05: /**
06: * An exception happened when trying to parse a search engine query string.
07: *
08: * @author kimchy
09: */
10: public class SearchEngineQueryParseException extends CompassException {
11:
12: private String queryString;
13:
14: public SearchEngineQueryParseException(String queryString,
15: Throwable root) {
16: super ("Failed to parse query [" + queryString + "]", root);
17: this .queryString = queryString;
18: }
19:
20: public String getQueryString() {
21: return this.queryString;
22: }
23: }
|