public class SnowflakeSQLException extends SQLException
| Constructor and Description |
|---|
SnowflakeSQLException(ErrorCode errorCode,
int retryCount,
boolean issocketTimeoutNoBackoff,
long elapsedSeconds) |
SnowflakeSQLException(ErrorCode errorCode,
Object... params) |
SnowflakeSQLException(SFException e) |
SnowflakeSQLException(String reason) |
SnowflakeSQLException(String sqlState,
int vendorCode) |
SnowflakeSQLException(String sqlState,
int vendorCode,
Object... params) |
SnowflakeSQLException(String reason,
String SQLState) |
SnowflakeSQLException(String queryId,
String reason,
String sqlState,
int vendorCode)
This constructor should only be used for error from Global service.
|
SnowflakeSQLException(Throwable ex,
ErrorCode errorCode,
Object... params) |
SnowflakeSQLException(Throwable ex,
String sqlState,
int vendorCode) |
SnowflakeSQLException(Throwable ex,
String sqlState,
int vendorCode,
Object... params) |
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedSeconds() |
String |
getQueryId() |
int |
getRetryCount() |
boolean |
issocketTimeoutNoBackoff() |
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic SnowflakeSQLException(String queryId, String reason, String sqlState, int vendorCode)
queryId - query idreason - reason for which exception is createdsqlState - sql statevendorCode - vendor codepublic SnowflakeSQLException(String sqlState, int vendorCode)
public SnowflakeSQLException(String sqlState, int vendorCode, Object... params)
public SnowflakeSQLException(Throwable ex, ErrorCode errorCode, Object... params)
public SnowflakeSQLException(Throwable ex, String sqlState, int vendorCode, Object... params)
public SnowflakeSQLException(ErrorCode errorCode, int retryCount, boolean issocketTimeoutNoBackoff, long elapsedSeconds)
public SnowflakeSQLException(SFException e)
public SnowflakeSQLException(String reason)
public String getQueryId()
public int getRetryCount()
public boolean issocketTimeoutNoBackoff()
public long getElapsedSeconds()
Copyright © 2022. All rights reserved.