public class QueryExecutionException extends CouchbaseException
CouchbaseException representing various errors during N1QL querying, when an
actual Exception wrapping a JsonObject is needed.
It can also be thrown when the result handle is not available during deferred query rows
fetch, the result handle is available only when the status poll returns success.| Constructor and Description |
|---|
QueryExecutionException(String message,
JsonObject n1qlError) |
QueryExecutionException(String message,
JsonObject n1qlError,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
getN1qlError() |
details, details, getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic QueryExecutionException(String message, JsonObject n1qlError)
public QueryExecutionException(String message, JsonObject n1qlError, Throwable cause)
public JsonObject getN1qlError()
Copyright © 2015 Couchbase, Inc.