summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/query/QueryException.java
blob: 7d029d6907700ed4cf56a1ae8fea2546ed1c578f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.query;

/**
 * Runtime exception to mark errors in query parsing.
 *
 * @author Steinar Knutsen
 * @deprecated no methods throw this
 */
@Deprecated // TODO: Remove on Vespa 8
public class QueryException extends RuntimeException {

    public QueryException(String message) {
        super(message);
    }

    public QueryException(String message, Throwable cause) {
        super(message, cause);
    }

}