QueryExecutionException

open class QueryExecutionException(message: String, cause: Throwable? = null) : RuntimeException, QueryError

A query the caller got right that the server failed to run: a cursor position that does not encode, a stored record or backend row that breaks integrity (a non-finite number), a storage that failed. QueryErrors.FAILED (HTTP 500), never a me.ahoo.wow.query.schema.QueryViolation: the caller cannot fix it by changing the request.

message is returned to clients, so it names what failed without internal detail; cause stays server-side.

Inheritors

Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable? = null)

Properties

Link copied to clipboard
open override val errorCode: String

One of QueryErrors.

Link copied to clipboard
open override val errorMsg: String

The text the caller is answered with: it names what failed without internal detail.