public class AbstractMssqlException extends R2dbcException
| Modifier and Type | Field and Description |
|---|---|
static int |
DRIVER_ERROR_FROM_DATABASE |
static int |
DRIVER_ERROR_INTERMITTENT_TLS_FAILED |
static int |
DRIVER_ERROR_INVALID_TDS |
static int |
DRIVER_ERROR_IO_FAILED |
static int |
DRIVER_ERROR_NONE |
static int |
DRIVER_ERROR_SSL_FAILED |
static int |
DRIVER_ERROR_UNSUPPORTED_CONFIG |
static int |
ERROR_QUERY_TIMEOUT |
static int |
ERROR_SOCKET_TIMEOUT |
| Constructor and Description |
|---|
AbstractMssqlException()
Creates a new exception.
|
AbstractMssqlException(String reason)
Creates a new exception.
|
AbstractMssqlException(String reason,
String sqlState)
Creates a new exception.
|
AbstractMssqlException(String reason,
String sqlState,
int errorCode)
Creates a new exception.
|
AbstractMssqlException(String reason,
String sqlState,
int errorCode,
Throwable cause)
Creates a new exception.
|
AbstractMssqlException(String reason,
String sqlState,
Throwable cause)
Creates a new exception.
|
AbstractMssqlException(String reason,
Throwable cause)
Creates a new exception.
|
AbstractMssqlException(Throwable cause)
Creates a new exception.
|
getErrorCode, getSql, getSqlState, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final int DRIVER_ERROR_NONE
public static final int DRIVER_ERROR_FROM_DATABASE
public static final int DRIVER_ERROR_IO_FAILED
public static final int DRIVER_ERROR_INVALID_TDS
public static final int DRIVER_ERROR_SSL_FAILED
public static final int DRIVER_ERROR_UNSUPPORTED_CONFIG
public static final int DRIVER_ERROR_INTERMITTENT_TLS_FAILED
public static final int ERROR_SOCKET_TIMEOUT
public static final int ERROR_QUERY_TIMEOUT
public AbstractMssqlException()
public AbstractMssqlException(@Nullable String reason)
reason - the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage().public AbstractMssqlException(@Nullable String reason, @Nullable String sqlState)
reason - the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage().sqlState - the "SQLstate" string, which follows either the XOPEN SQLstate conventions or the SQL:2003 conventionspublic AbstractMssqlException(@Nullable String reason, @Nullable String sqlState, int errorCode)
reason - the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage().sqlState - the "SQLstate" string, which follows either the XOPEN SQLstate conventions or the SQL:2003 conventionserrorCode - a vendor-specific error code representing this failurepublic AbstractMssqlException(@Nullable String reason, @Nullable String sqlState, int errorCode, @Nullable Throwable cause)
reason - the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage().sqlState - the "SQLstate" string, which follows either the XOPEN SQLstate conventions or the SQL:2003 conventionserrorCode - a vendor-specific error code representing this failurecause - the causepublic AbstractMssqlException(@Nullable String reason, @Nullable String sqlState, @Nullable Throwable cause)
reason - the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage().sqlState - the "SQLstate" string, which follows either the XOPEN SQLstate conventions or the SQL:2003 conventionscause - the causepublic AbstractMssqlException(@Nullable String reason, @Nullable Throwable cause)
reason - the reason for the error. Set as the exception's message and retrieved with Throwable.getMessage().cause - the causeCopyright © 2023. All rights reserved.