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

Packages that use SFException
com.snowflake.client.core

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

Methods in com.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.

Methods in com.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 Make sure a property is not added more than once and the number of properties does not exceed limit.
`void` SFStatement.`cancel()`
`static void` StmtUtil.`cancel(StmtUtil.StmtInput stmtInput)` Cancel a statement identifiable by a request id
`protected void` SFStatement.`cancelHelper(String sql, String mediaType)` A helper method to build URL and cancel the SQL for exec
`void` SFSession.`close()` Close the connection
`static void` SessionUtil.`closeSession(SessionUtil.LoginInput loginInput)` Close a session
`SFStatementMetaData` SFStatement.`describe()` Describe the statement
`SFStatementMetaData` SFStatement.`describe(String sql)` Describe a statement
`static StmtUtil.StmtOutput` StmtUtil.`execute(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)` Execute sql
`protected SFBaseResultSet` SFStatement.`executeFileTransfer(String sql)`
`Object` SFStatement.`executeHelper(String sql, String mediaType, Map<String,Map<String,Object>> bindValues, boolean describeOnly)` A helper method to build URL and submit the SQL to snowflake for exec
`protected SFBaseResultSet` SFStatement.`executeQuery(String sql)` Execute SQL query
`protected SFBaseResultSet` SFStatement.`executeQuery(String sql, boolean describeOnly)` Execute SQL query with an option for describe only
`protected SFBaseResultSet` SFStatement.`executeQueryInternal(String sql, Map<String,Map<String,Object>> parameterBindings, boolean describeOnly)` Internal method for executing a query with bindings accepted.
`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(Object obj, 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)`
`Object` SFBaseResultSet.`getObjectInternal(int columnIndex)`
`protected static String` StmtUtil.`getQueryResult(com.fasterxml.jackson.databind.JsonNode inProgressResponse, String mediaType, String previousGetResultPath, StmtUtil.StmtInput stmtInput)` Issue get-result call to get query result given an in progress response.
`com.snowflake.gscommon.core.SFTime` SFBaseResultSet.`getSFTime(int columnIndex)`
`static com.snowflake.gscommon.core.SFTime` ResultUtil.`getSFTime(Object obj, int scale, SFSession session)` Convert a time internal value (scaled number of seconds + fractional seconds) into an SFTime.
`com.snowflake.gscommon.core.SFTimestamp` SFBaseResultSet.`getSFTimestamp(int columnIndex)`
`static com.snowflake.gscommon.core.SFTimestamp` ResultUtil.`getSFTimestamp(Object obj, 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(com.snowflake.gscommon.core.SFTimestamp sfTS, int columnType, int scale, com.snowflake.gscommon.core.SnowflakeDateTimeFormat timestampNTZFormatter, com.snowflake.gscommon.core.SnowflakeDateTimeFormat timestampLTZFormatter, com.snowflake.gscommon.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)`
`Timestamp` SFBaseResultSet.`getTimestamp(int columnIndex, TimeZone tz)`
`protected void` SFSession.`heartbeat()` Send heartbeat for the session
`boolean` SFFixedViewResultSet.`next()` Advance to next row
`boolean` SFBaseResultSet.`next()`
`boolean` SFResultSet.`next()` Advance to next row
`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 com.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.