We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 798ee39 commit 2fcf119Copy full SHA for 2fcf119
1 file changed
src/main/java/com/databricks/jdbc/dbclient/impl/http/DatabricksHttpClient.java
@@ -133,7 +133,8 @@ private PoolingHttpClientConnectionManager initializeConnectionManager(
133
return connectionManager;
134
} catch (DatabricksHttpException e) {
135
LOGGER.error("Failed to initialize HTTP connection manager", e);
136
- throw new RuntimeException("Failed to initialize HTTP connection manager", e);
+ // Currently only SSL Handshake failure causes this exception.
137
+ throw new DatabricksDriverException("Failed to initialize HTTP connection manager", DatabricksDriverErrorCode.SSL_HANDSHAKE_ERROR);
138
}
139
140
0 commit comments