## Uses of Class
net.snowflake.client.jdbc.SnowflakeSQLException

Packages that use SnowflakeSQLException
net.snowflake.client.core
net.snowflake.client.jdbc
net.snowflake.client.jdbc.cloud.storage

### Uses of SnowflakeSQLException in net.snowflake.client.core

Methods in net.snowflake.client.core that throw SnowflakeSQLException
`static void` StmtUtil.`cancel(net.snowflake.client.core.StmtUtil.StmtInput stmtInput)` Cancel a statement identifiable by a request id
`void` SFSession.`close()` Close the connection
`static void` SessionUtil.`closeSession(SessionUtil.LoginInput loginInput)` Close a session
`static StmtUtil.StmtOutput` StmtUtil.`execute(net.snowflake.client.core.StmtUtil.StmtInput stmtInput)` Execute a statement side effect: stmtInput.prevGetResultURL is set if we have started ping pong and receives an exception from session token expiration so that during retry we don't retry the query submission, but continue the ping pong process.
`Object` SFStatement.`executeHelper(String sql, String mediaType, Map<String,ParameterBindingDTO> bindValues, boolean describeOnly, boolean internal)` A helper method to build URL and submit the SQL to snowflake for exec
`static String` HttpUtil.`executeRequest(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int injectSocketTimeout, AtomicBoolean canceling)` Executes a HTTP request for Snowflake.
`protected static String` StmtUtil.`getQueryResult(com.fasterxml.jackson.databind.JsonNode inProgressResponse, String mediaType, String previousGetResultPath, net.snowflake.client.core.StmtUtil.StmtInput stmtInput)` Issue get-result call to get query result given an in progress response.
`static SessionUtil.LoginOutput` SessionUtil.`issueSession(SessionUtil.LoginInput loginInput)` Issue a session
`boolean` SFResultSet.`next()` Advance to next row
`boolean` SFBaseResultSet.`next()`
`void` SFSession.`open()` Open a new database session
`static SessionUtil.LoginOutput` SessionUtil.`openSession(SessionUtil.LoginInput loginInput)` Open a new session
`static ResultUtil.ResultOutput` ResultUtil.`processResult(ResultUtil.ResultInput resultData, SFSession sfSession)` A common helper to process result response
`static SessionUtil.LoginOutput` SessionUtil.`renewSession(SessionUtil.LoginInput loginInput)` Renew a session.

Constructors in net.snowflake.client.core that throw SnowflakeSQLException
Constructor and Description
`SFFixedViewResultSet(SnowflakeFixedView fixedView, SnowflakeFileTransferAgent.CommandType commandType)`

### Uses of SnowflakeSQLException in net.snowflake.client.jdbc

Subclasses of SnowflakeSQLException in net.snowflake.client.jdbc
`class` `SnowflakeReauthenticationRequest` SnowflakeReauthenticationRequest signals the reauthentication used for SSO

Methods in net.snowflake.client.jdbc that throw SnowflakeSQLException
`void` SnowflakeResultChunk.`addRow(Object[] row)`
`static void` SnowflakeUtil.`checkErrorAndThrowException(com.fasterxml.jackson.databind.JsonNode rootNode)`
`static void` SnowflakeUtil.`checkErrorAndThrowExceptionIncludingReauth(com.fasterxml.jackson.databind.JsonNode rootNode)`
`static List<SnowflakeColumnMetadata>` SnowflakeUtil.`describeFixedViewColumns(Class clazz)`
`void` SnowflakeResultChunk.`ensureRowsComplete()` Checks that all data has been added after parsing.
`static org.apache.http.client.methods.CloseableHttpResponse` RestRequest.`execute(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.methods.HttpRequestBase httpRequest, long retryTimeout, int injectSocketTimeout, AtomicBoolean canceling, boolean withoutCookies)` Execute an http request with retry logic.
`static Set<String>` SnowflakeFileTransferAgent.`expandFileNames(String[] filePathList)` process a list of file paths separated by "," and expand the wildcards if any to generate the list of paths for all files matched by the wildcards
`static SnowflakeColumnMetadata` SnowflakeUtil.`extractColumnMetadata(com.fasterxml.jackson.databind.JsonNode colNode, boolean jdbcTreatDecimalAsInt)`
`SnowflakeResultChunk` SnowflakeChunkDownloader.`getNextChunkToConsume()` The method does the following: 1.
`Object` SnowflakeFileTransferAgent.`getResultSet()`
`static SnowflakeType` SnowflakeType.`javaTypeToSFType(int javaType)`
`static SnowflakeType` SnowflakeUtil.`javaTypeToSFType(int javaType)`
`static String` SnowflakeUtil.`javaTypeToSFTypeString(int javaType)`
`static void` SnowflakeFileTransferAgent.`renewExpiredToken(SFSession connection, String command, SnowflakeStorageClient client)` This static method is called when we are handling an expired token exception It retrieves a fresh token from GS and then calls .renew() on the storage client to refresh itself with the new token
`static void` SnowflakeFileTransferAgent.`throwJCEMissingError(String operation, Exception ex)`

Constructors in net.snowflake.client.jdbc that throw SnowflakeSQLException
Constructor and Description
`SnowflakeFileTransferAgent(String command, SFSession connection, SFStatement statement)`
`SnowflakeResultSetMetaData(int columnCount, List<String> columnNames, List<String> columnTypeNames, List<Integer> columnTypes, SFSession session)`

### Uses of SnowflakeSQLException in net.snowflake.client.jdbc.cloud.storage

Methods in net.snowflake.client.jdbc.cloud.storage that throw SnowflakeSQLException
`SnowflakeStorageClient` StorageClientFactory.`createClient(StageInfo stage, int parallel, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat)` Creates a storage client based on the value of stageLocationType
`static SnowflakeAzureClient` SnowflakeAzureClient.`createSnowflakeAzureClient(StageInfo stage, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat)`
`void` SnowflakeS3Client.`download(SFSession connection, String command, String localLocation, String destFileName, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion)` Download a file from S3.
`void` SnowflakeStorageClient.`download(SFSession connection, String command, String localLocation, String destFileName, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion)` Download a file from remote storage.
`void` SnowflakeAzureClient.`download(SFSession connection, String command, String localLocation, String destFileName, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion)` Download a file from remote storage.
`void` SnowflakeS3Client.`handleStorageException(Exception ex, int retryCount, String operation, SFSession connection, String command)`
`void` SnowflakeStorageClient.`handleStorageException(Exception ex, int retryCount, String operation, SFSession connection, String command)` Handles exceptions thrown by the remote storage provider
`void` SnowflakeAzureClient.`handleStorageException(Exception ex, int retryCount, String operation, SFSession connection, String command)` Handles exceptions thrown by Azure Storage
`void` SnowflakeS3Client.`renew(Map stageCredentials)` Renew the S3 client with fresh AWS credentials/access token
`void` SnowflakeStorageClient.`renew(Map stageCredentials)` Re-creates the encapsulated storage client with a fresh access token
`void` SnowflakeAzureClient.`renew(Map stageCredentials)` Re-creates the encapsulated storage client with a fresh access token
`void` SnowflakeS3Client.`upload(SFSession connection, String command, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion)` Upload a file (-stream) to S3.
`void` SnowflakeStorageClient.`upload(SFSession connection, String command, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion)` Upload a file (-stream) to remote storage
`void` SnowflakeAzureClient.`upload(SFSession connection, String command, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion)` Upload a file/stream to remote storage

Constructors in net.snowflake.client.jdbc.cloud.storage that throw SnowflakeSQLException
Constructor and Description
`SnowflakeS3Client(Map stageCredentials, com.amazonaws.ClientConfiguration clientConfig, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat, String stageRegion)`