Class QueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.columnar.client.java.ColumnarException
com.couchbase.columnar.client.java.QueryException
- All Implemented Interfaces:
Serializable
Thrown when the Columnar cluster returns an error message in response to a query request.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintcode()Returns the Columnar error code sent by the server.Returns the human-readable error message sent by the server, without the additional context returned byThrowable.getMessage().Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
code
public int code()Returns the Columnar error code sent by the server. -
serverMessage
Returns the human-readable error message sent by the server, without the additional context returned byThrowable.getMessage().Caveat: The content and structure of this message may change between Couchbase Server versions.
-