public class IgniteSQLException extends IgniteException
IgniteQueryErrorCode,
Serialized Form| Constructor and Description |
|---|
IgniteSQLException(SQLException cause)
Constructor.
|
IgniteSQLException(String msg)
Constructor.
|
IgniteSQLException(String msg,
int statusCode)
Constructor.
|
IgniteSQLException(String msg,
int statusCode,
String sqlState)
Constructor.
|
IgniteSQLException(String msg,
int statusCode,
@Nullable Throwable cause)
Constructor.
|
IgniteSQLException(String msg,
@Nullable Throwable cause)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
sqlState()
SQLException.SQLState getter. |
int |
statusCode() |
SQLException |
toJdbcException() |
getCause, hasCause, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic IgniteSQLException(String msg)
msg - Exception message.public IgniteSQLException(SQLException cause)
cause - Cause to throw this exception.public IgniteSQLException(String msg, @Nullable @Nullable Throwable cause)
msg - Exception message.cause - Cause to throw this exception.public IgniteSQLException(String msg, int statusCode, @Nullable @Nullable Throwable cause)
msg - Exception message.statusCode - Ignite specific error code.cause - Cause to throw this exception.IgniteQueryErrorCodepublic IgniteSQLException(String msg, int statusCode)
msg - Exception message.statusCode - Ignite specific error code.IgniteQueryErrorCodepublic IgniteSQLException(String msg, int statusCode, String sqlState)
msg - Exception message.statusCode - Ignite specific error code.sqlState - SQLSTATE standard code.IgniteQueryErrorCodepublic int statusCode()
public String sqlState()
SQLException.SQLState getter.SQLException.SQLState.public SQLException toJdbcException()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020