public class SnowflakeSQLException extends SQLException
Constructor and Description |
---|
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 |
---|---|
String |
getQueryId() |
getErrorCode, getNextException, getSQLState, iterator, setNextException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public 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(SFException e)
public SnowflakeSQLException(String reason)
public String getQueryId()
Copyright © 2021. All rights reserved.