QueryRejectedException

A search the store can't answer, refused for reason before anything is read (SPEC.md §4.1, §10.4). Nothing is wrong with the query as such: each Reason says what answers it instead.

detail states the fact only, such as no index term narrows the search for $..sku, and names no API, so that a program can print it next to a remedy in its own words, chosen by reason.

Constructors

Link copied to clipboard
constructor(reason: QueryRejectedException.Reason, detail: String, query: String?)
constructor(reason: QueryRejectedException.Reason, detail: String)

A rejection with no query text, as a key–value search's is.

Types

Link copied to clipboard

Why the query was refused.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

What the store found, without the Query rejected: prefix of the message and without a remedy.

Link copied to clipboard
open val message: String?
Link copied to clipboard

The text of the refused JSONPath query, without its document filter; null for a key–value search.

Link copied to clipboard

Why the query was refused, and so what answers it instead.