public class SnowflakeSQLException extends SQLException
Constructor and Description |
---|
SnowflakeSQLException(String sqlState,
int vendorCode) |
SnowflakeSQLException(String sqlState,
int vendorCode,
Object... params) |
SnowflakeSQLException(String queryId,
String reason,
String sqlState,
int vendorCode)
This constructor should only be used for error from
Global service.
|
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 String getQueryId()
Copyright © 2017. All rights reserved.