Class ServerResponseException

All Implemented Interfaces:
Serializable

public final class ServerResponseException extends UnavailableException
The service answered with a body the SDK cannot use: an invalid JSON response or a ClickHouse exception without a specific mapping that followed a 200 answer. Code UNAVAILABLE, not retryable.
See Also:
  • Constructor Details

    • ServerResponseException

      public ServerResponseException(String message, Integer httpStatus, String requestId)
      Creates the exception.
      Parameters:
      message - redacted message
      httpStatus - HTTP status or null
      requestId - request id or null
  • Method Details