Package com.couchbase.client.java.error
Class QueryExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.CouchbaseException
com.couchbase.client.java.error.QueryExecutionException
- All Implemented Interfaces:
Serializable
public class QueryExecutionException extends CouchbaseException
A
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.- Since:
- 2.2
- Author:
- Simon Baslé
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description QueryExecutionException(String message, JsonObject n1qlError)
QueryExecutionException(String message, JsonObject n1qlError, Throwable cause)
-
Method Summary
Modifier and Type Method Description JsonObject
getN1qlError()
Methods inherited from class com.couchbase.client.core.CouchbaseException
details, details, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QueryExecutionException
-
QueryExecutionException
-
-
Method Details
-
getN1qlError
-