All Implemented Interfaces:
Serializable

public class QueryException extends ColumnarException
Thrown when the Columnar cluster returns an error message in response to a query request.
See Also:
  • Method Details Link icon

    • code Link icon

      public int code()
      Returns the Columnar error code sent by the server.
    • serverMessage Link icon

      public String serverMessage()
      Returns the human-readable error message sent by the server, without the additional context returned by Throwable.getMessage().

      Caveat: The content and structure of this message may change between Couchbase Server versions.