| Package | Description |
|---|---|
| com.mysql.cj.exceptions | |
| com.mysql.cj.jdbc | |
| com.mysql.cj.protocol.x | |
| com.mysql.cj.xdevapi |
Java classes for X DevAPI support.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AssertionFailedException
Assertions for empty code paths that should never be executed.
|
class |
CJCommunicationsException |
class |
CJConnectionFeatureNotAvailableException |
class |
CJOperationNotSupportedException |
class |
CJPacketTooBigException
Thrown when a packet that is too big for the server is created.
|
class |
CJTimeoutException |
class |
ClosedOnExpiredPasswordException
Equivalent to SQLSTATE ER_MUST_CHANGE_PASSWORD_LOGIN = 1862
"Your password has expired.
|
class |
ConnectionIsClosedException
Operation attempted on already closed Connection
|
class |
DataConversionException
Indicates that data could not be converted according to the given request.
|
class |
DataReadException
Indicates that data could not be read according to the given request.
|
class |
DataTruncationException |
class |
FeatureNotAvailableException |
class |
InvalidConnectionAttributeException |
class |
NumberOutOfRange
Indicates that a number was out of the expected range.
|
class |
OperationCancelledException |
class |
PasswordExpiredException
Equivalent to SQLSTATE ER_MUST_CHANGE_PASSWORD = 1820
"You must SET PASSWORD before executing this statement"
Server entered to sandbox morde when this failure happens.
|
class |
PropertyNotModifiableException |
class |
RSAException |
class |
SSLParamsException |
class |
StatementIsClosedException
Operation attempted on already closed Statement
|
class |
UnableToConnectException |
class |
UnsupportedConnectionStringException |
class |
WrongArgumentException |
| Modifier and Type | Method and Description |
|---|---|
static <T extends CJException> |
ExceptionFactory.createException(java.lang.Class<T> clazz,
java.lang.String message) |
static <T extends CJException> |
ExceptionFactory.createException(java.lang.Class<T> clazz,
java.lang.String message,
ExceptionInterceptor interceptor) |
static <T extends CJException> |
ExceptionFactory.createException(java.lang.Class<T> clazz,
java.lang.String message,
java.lang.Throwable cause) |
static <T extends CJException> |
ExceptionFactory.createException(java.lang.Class<T> clazz,
java.lang.String message,
java.lang.Throwable cause,
ExceptionInterceptor interceptor) |
| Modifier and Type | Method and Description |
|---|---|
static CJException |
ExceptionFactory.createException(java.lang.String message) |
static CJException |
ExceptionFactory.createException(java.lang.String message,
ExceptionInterceptor interceptor) |
static CJException |
ExceptionFactory.createException(java.lang.String message,
java.lang.String sqlState,
int vendorErrorCode,
boolean isTransient,
java.lang.Throwable cause,
ExceptionInterceptor interceptor) |
static CJException |
ExceptionFactory.createException(java.lang.String message,
java.lang.Throwable cause) |
static CJException |
ExceptionFactory.createException(java.lang.String message,
java.lang.Throwable cause,
ExceptionInterceptor interceptor) |
| Modifier and Type | Field and Description |
|---|---|
private CJException |
ServerPreparedStatement.invalidationException
If this statement has been marked invalid, what was the reason?
|
| Modifier and Type | Class and Description |
|---|---|
class |
XProtocolError
An Error returned from X Plugin.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XDevAPIError
An Error returned from X DevAPI.
|