类的使用
com.mysql.cj.exceptions.CJException
-
使用CJException的程序包 程序包 说明 com.mysql.cj.exceptions com.mysql.cj.protocol.x com.mysql.cj.xdevapi Java classes for X DevAPI support. -
-
com.mysql.cj.exceptions中CJException的使用
com.mysql.cj.exceptions中CJException的子类 修饰符和类型 类 说明 classAssertionFailedExceptionAssertions for empty code paths that should never be executed.classCJCommunicationsExceptionclassCJConnectionFeatureNotAvailableExceptionclassCJOperationNotSupportedExceptionclassCJPacketTooBigExceptionThrown when a packet that is too big for the server is created.classCJTimeoutExceptionclassClosedOnExpiredPasswordExceptionEquivalent to SQLSTATE ER_MUST_CHANGE_PASSWORD_LOGIN = 1862 "Your password has expired.classConnectionIsClosedExceptionOperation attempted on already closed ConnectionclassDataConversionExceptionIndicates that data could not be converted according to the given request.classDataReadExceptionIndicates that data could not be read according to the given request.classDataTruncationExceptionclassFeatureNotAvailableExceptionclassInvalidConnectionAttributeExceptionclassNumberOutOfRangeIndicates that a number was out of the expected range.classOperationCancelledExceptionclassPasswordExpiredExceptionEquivalent to SQLSTATE ER_MUST_CHANGE_PASSWORD = 1820 "You must SET PASSWORD before executing this statement" Server entered to sandbox morde when this failure happens.classPropertyNotModifiableExceptionclassRSAExceptionclassSSLParamsExceptionclassStatementIsClosedExceptionOperation attempted on already closed StatementclassUnableToConnectExceptionclassUnsupportedConnectionStringExceptionclassWrongArgumentException类型参数类型为CJException的com.mysql.cj.exceptions中的方法 修饰符和类型 方法 说明 static <T extends CJException>
TExceptionFactory. createException(Class<T> clazz, String message)static <T extends CJException>
TExceptionFactory. createException(Class<T> clazz, String message, ExceptionInterceptor interceptor)static <T extends CJException>
TExceptionFactory. createException(Class<T> clazz, String message, Throwable cause)static <T extends CJException>
TExceptionFactory. createException(Class<T> clazz, String message, Throwable cause, ExceptionInterceptor interceptor)返回CJException的com.mysql.cj.exceptions中的方法 修饰符和类型 方法 说明 static CJExceptionExceptionFactory. createException(String message)static CJExceptionExceptionFactory. createException(String message, ExceptionInterceptor interceptor)static CJExceptionExceptionFactory. createException(String message, String sqlState, int vendorErrorCode, boolean isTransient, Throwable cause, ExceptionInterceptor interceptor)static CJExceptionExceptionFactory. createException(String message, Throwable cause)static CJExceptionExceptionFactory. createException(String message, Throwable cause, ExceptionInterceptor interceptor) -
com.mysql.cj.protocol.x中CJException的使用
com.mysql.cj.protocol.x中CJException的子类 修饰符和类型 类 说明 classXProtocolErrorAn Error returned from X Plugin. -
com.mysql.cj.xdevapi中CJException的使用
com.mysql.cj.xdevapi中CJException的子类 修饰符和类型 类 说明 classXDevAPIErrorAn Error returned from X DevAPI.
-