## Uses of Class
net.snowflake.client.core.SFException

Packages that use SFException
net.snowflake.client.core
net.snowflake.client.jdbc

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

Methods in net.snowflake.client.core that return SFException
`static SFException` IncidentUtil.`generateIncidentWithException(SFSession session, String requestId, String jobUuid, ErrorCode errorCode, Object... params)` Creates an SFException without a cause to be thrown and generates/triggers an incident based on that exception.
`static SFException` IncidentUtil.`generateIncidentWithException(SFSession session, String requestId, String jobUuid, Throwable cause, ErrorCode errorCode, Object... params)`
`static SFException` IncidentUtil.`generateIncidentWithException(String sessionToken, String serverUrl, String requestId, String jobUuid, ErrorCode errorCode, Object... params)`
`static SFException` IncidentUtil.`generateIncidentWithException(String sessionToken, String serverUrl, String requestId, String jobUuid, Throwable cause, ErrorCode errorCode, Object... params)` Creates an SFException to be thrown and generates/triggers an incident based on that exception.
`static SFException` IncidentUtil.`generateIncidentWithSignatureAndException(SFSession session, String requestId, String jobUuid, String signature, ErrorCode errorCode, Object... params)` Creates an SFException without a cause to be thrown and generates/triggers an incident based on that exception with the specified signature.
`static SFException` IncidentUtil.`generateIncidentWithSignatureAndException(String sessionToken, String serverUrl, String requestId, String jobUuid, String signature, ErrorCode errorCode, Object... params)`

Methods in net.snowflake.client.core that throw SFException
`boolean` SFBaseResultSet.`absolute(int row)`
`void` SFStatement.`addProperty(String propertyName, Object propertyValue)` Add a statement parameter Make sure a property is not added more than once and the number of properties does not exceed limit.
`void` SFSession.`addProperty(String propertyName, Object propertyValue)` Add a property If a property is known for connection, add it to connection properties If not, add it as a dynamic session parameters
`static int` ResultUtil.`calculateUpdateCount(SFBaseResultSet resultSet)`
`void` SFStatement.`cancel()`
`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
`SFStatementMetaData` SFStatement.`describe(String sql)` Describe a statement
`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.
`SFBaseResultSet` SFStatement.`execute(String sql, Map<String,ParameterBindingDTO> parametersBinding)` Execute sql
`Object` SFStatement.`executeHelper(String sql, String mediaType, Map<String,ParameterBindingDTO> bindValues, boolean describeOnly)` A helper method to build URL and submit the SQL to snowflake for exec
`BigDecimal` SFBaseResultSet.`getBigDecimal(int columnIndex)`
`BigDecimal` SFBaseResultSet.`getBigDecimal(int columnIndex, int scale)`
`boolean` SFBaseResultSet.`getBoolean(int columnIndex)`
`byte[]` SFBaseResultSet.`getBytes(int columnIndex)`
`int` SFResultSetMetaData.`getColumnType(int column)`
`String` SFResultSetMetaData.`getColumnTypeName(int column)`
`Date` SFBaseResultSet.`getDate(int columnIndex)`
`Date` SFBaseResultSet.`getDate(int columnIndex, TimeZone tz)`
`static Date` ResultUtil.`getDate(String str, TimeZone tz, SFSession session)` Convert a date internal object to a Date object in specified timezone.
`double` SFBaseResultSet.`getDouble(int columnIndex)`
`float` SFBaseResultSet.`getFloat(int columnIndex)`
`int` SFBaseResultSet.`getInt(int columnIndex)`
`int` SFResultSetMetaData.`getInternalColumnType(int column)`
`long` SFBaseResultSet.`getLong(int columnIndex)`
`SFResultSetMetaData` SFBaseResultSet.`getMetaData()`
`Object` SFBaseResultSet.`getObject(int columnIndex)`
`protected Object` SFFixedViewResultSet.`getObjectInternal(int columnIndex)`
`protected Object` SFResultSet.`getObjectInternal(int columnIndex)`
`protected abstract Object` SFBaseResultSet.`getObjectInternal(int columnIndex)`
`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 net.snowflake.common.core.SFTime` ResultUtil.`getSFTime(String obj, int scale, SFSession session)` Convert a time internal value (scaled number of seconds + fractional seconds) into an SFTime.
`static net.snowflake.common.core.SFTimestamp` ResultUtil.`getSFTimestamp(String timestampStr, int scale, int internalColumnType, long resultVersion, TimeZone sessionTZ, SFSession session)` Convert a timestamp internal value (scaled number of seconds + fractional seconds) into a SFTimestamp.
`static String` ResultUtil.`getSFTimestampAsString(net.snowflake.common.core.SFTimestamp sfTS, int columnType, int scale, net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter, SFSession session)` Convert a SFTimestamp to a string value.
`short` SFBaseResultSet.`getShort(int columnIndex)`
`String` SFBaseResultSet.`getString(int columnIndex)`
`Time` SFBaseResultSet.`getTime(int columnIndex)`
`Timestamp` SFBaseResultSet.`getTimestamp(int columnIndex, TimeZone tz)`
`protected void` SFSession.`heartbeat()` Send heartbeat for the session
`boolean` SFFixedViewResultSet.`next()` Advance to next row
`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
`boolean` SFBaseResultSet.`previous()`
`boolean` SFBaseResultSet.`relative(int rows)`
`static SessionUtil.LoginOutput` SessionUtil.`renewSession(SessionUtil.LoginInput loginInput)` Renew a session

Constructors in net.snowflake.client.core that throw SFException
Constructor and Description
`SFResultSet(com.fasterxml.jackson.databind.JsonNode result, SFStatement statement, boolean sortResult)` Constructor takes a result from the API response that we get from executing a SQL statement.

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

Constructors in net.snowflake.client.jdbc with parameters of type SFException
Constructor and Description
`SnowflakeSQLException(SFException e)`