接口的使用
com.mysql.cj.exceptions.ExceptionInterceptor
-
-
com.mysql.cj中ExceptionInterceptor的使用
声明为ExceptionInterceptor的com.mysql.cj中的字段 修饰符和类型 字段 说明 protected ExceptionInterceptorCoreSession. exceptionInterceptor返回ExceptionInterceptor的com.mysql.cj中的方法 修饰符和类型 方法 说明 ExceptionInterceptorCoreSession. getExceptionInterceptor()ExceptionInterceptorMysqlConnection. getExceptionInterceptor()ExceptionInterceptorSession. getExceptionInterceptor()参数类型为ExceptionInterceptor的com.mysql.cj中的方法 修饰符和类型 方法 说明 voidCoreSession. setExceptionInterceptor(ExceptionInterceptor exceptionInterceptor)voidSession. setExceptionInterceptor(ExceptionInterceptor exceptionInterceptor) -
com.mysql.cj.conf中ExceptionInterceptor的使用
参数类型为ExceptionInterceptor的com.mysql.cj.conf中的方法 修饰符和类型 方法 说明 static BooleanBooleanPropertyDefinition. booleanFrom(String name, String value, ExceptionInterceptor exceptionInterceptor)protected voidAbstractRuntimeProperty. checkRange(T val, String valueAsString, ExceptionInterceptor exceptionInterceptor)For range-based property, checks that value fit into range given by PropertyDefinition.protected voidIntegerProperty. checkRange(Integer val, String valueAsString, ExceptionInterceptor exceptionInterceptor)protected voidLongProperty. checkRange(Long val, String valueAsString, ExceptionInterceptor exceptionInterceptor)voidAbstractRuntimeProperty. initializeFrom(Properties extractFrom, ExceptionInterceptor exceptionInterceptor)voidAbstractRuntimeProperty. initializeFrom(Reference ref, ExceptionInterceptor exceptionInterceptor)voidMemorySizeProperty. initializeFrom(Properties extractFrom, ExceptionInterceptor exceptionInterceptor)voidMemorySizeProperty. initializeFrom(Reference ref, ExceptionInterceptor exceptionInterceptor)voidRuntimeProperty. initializeFrom(Properties extractFrom, ExceptionInterceptor exceptionInterceptor)Explicitly set value of this RuntimeProperty according to the self-titled property value contained in extractFrom.voidRuntimeProperty. initializeFrom(Reference ref, ExceptionInterceptor exceptionInterceptor)static IntegerIntegerPropertyDefinition. integerFrom(String name, String value, int multiplier, ExceptionInterceptor exceptionInterceptor)abstract TAbstractPropertyDefinition. parseObject(String value, ExceptionInterceptor exceptionInterceptor)BooleanBooleanPropertyDefinition. parseObject(String value, ExceptionInterceptor exceptionInterceptor)TEnumPropertyDefinition. parseObject(String value, ExceptionInterceptor exceptionInterceptor)IntegerIntegerPropertyDefinition. parseObject(String value, ExceptionInterceptor exceptionInterceptor)LongLongPropertyDefinition. parseObject(String value, ExceptionInterceptor exceptionInterceptor)IntegerMemorySizePropertyDefinition. parseObject(String value, ExceptionInterceptor exceptionInterceptor)TPropertyDefinition. parseObject(String value, ExceptionInterceptor exceptionInterceptor)Returns the value object parsed from it's string representation and checked against allowable values.StringStringPropertyDefinition. parseObject(String value, ExceptionInterceptor exceptionInterceptor)voidAbstractRuntimeProperty. setValue(T value, ExceptionInterceptor exceptionInterceptor)voidRuntimeProperty. setValue(T value, ExceptionInterceptor exceptionInterceptor)Set the object value of a property directly.voidAbstractRuntimeProperty. setValueInternal(String value, ExceptionInterceptor exceptionInterceptor)Set the value of a property from a string value.voidAbstractRuntimeProperty. setValueInternal(T value, String valueAsString, ExceptionInterceptor exceptionInterceptor)Internal method for setting property value; ignoring the RUNTIME_NOT_MODIFIABLE flag.voidMemorySizeProperty. setValueInternal(Integer value, String valueAsString, ExceptionInterceptor exceptionInterceptor) -
com.mysql.cj.exceptions中ExceptionInterceptor的使用
实现ExceptionInterceptor的com.mysql.cj.exceptions中的类 修饰符和类型 类 说明 classExceptionInterceptorChain返回ExceptionInterceptor的com.mysql.cj.exceptions中的方法 修饰符和类型 方法 说明 ExceptionInterceptorExceptionInterceptor. init(Properties props, Log log)Called once per connection that wants to use the extension The properties are the same ones passed in in the URL or arguments to Driver.connect() or DriverManager.getConnection().ExceptionInterceptorExceptionInterceptorChain. init(Properties properties, Log log)返回变量类型为ExceptionInterceptor的类型的com.mysql.cj.exceptions中的方法 修饰符和类型 方法 说明 List<ExceptionInterceptor>ExceptionInterceptorChain. getInterceptors()参数类型为ExceptionInterceptor的com.mysql.cj.exceptions中的方法 修饰符和类型 方法 说明 voidExceptionInterceptorChain. addRingZero(ExceptionInterceptor interceptor)static CJCommunicationsExceptionExceptionFactory. createCommunicationsException(PropertySet propertySet, ServerSession serverSession, PacketSentTimeHolder packetSentTimeHolder, PacketReceivedTimeHolder packetReceivedTimeHolder, Throwable cause, ExceptionInterceptor interceptor)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, ExceptionInterceptor interceptor)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, ExceptionInterceptor interceptor) -
com.mysql.cj.jdbc中ExceptionInterceptor的使用
声明为ExceptionInterceptor的com.mysql.cj.jdbc中的字段 修饰符和类型 字段 说明 protected ExceptionInterceptorStatementImpl. exceptionInterceptorprotected ExceptionInterceptorWrapperBase. exceptionInterceptorprotected ExceptionInterceptorWrapperBase. exceptionInterceptorprotected ExceptionInterceptorWrapperBase. exceptionInterceptorprotected ExceptionInterceptorWrapperBase. exceptionInterceptor返回ExceptionInterceptor的com.mysql.cj.jdbc中的方法 修饰符和类型 方法 说明 ExceptionInterceptorConnectionImpl. getExceptionInterceptor()ExceptionInterceptorConnectionWrapper. getExceptionInterceptor()protected ExceptionInterceptorDatabaseMetaData. getExceptionInterceptor()ExceptionInterceptorJdbcStatement. getExceptionInterceptor()protected ExceptionInterceptorMysqlPooledConnection. getExceptionInterceptor()ExceptionInterceptorStatementImpl. getExceptionInterceptor()参数类型为ExceptionInterceptor的com.mysql.cj.jdbc中的构造器 构造器 说明 Blob(byte[] data, ExceptionInterceptor exceptionInterceptor)Creates a BLOB encapsulating the given binary dataBlobFromLocator(ResultSetImpl creatorResultSetToSet, int blobColumnIndex, ExceptionInterceptor exceptionInterceptor)Creates an updatable BLOB that can update in-placeClob(String charDataInit, ExceptionInterceptor exceptionInterceptor)MysqlParameterMetadata(Session session, Field[] fieldInfo, int parameterCount, ExceptionInterceptor exceptionInterceptor)MysqlSQLXML(ExceptionInterceptor exceptionInterceptor)MysqlSQLXML(ResultSetInternalMethods owner, int index, ExceptionInterceptor exceptionInterceptor)NClob(String charDataInit, ExceptionInterceptor exceptionInterceptor) -
com.mysql.cj.jdbc.exceptions中ExceptionInterceptor的使用
参数类型为ExceptionInterceptor的com.mysql.cj.jdbc.exceptions中的方法 修饰符和类型 方法 说明 static SQLExceptionSQLError. createBatchUpdateException(SQLException underlyingEx, long[] updateCounts, ExceptionInterceptor interceptor)Create a BatchUpdateException taking in consideration the JDBC version in use.static SQLExceptionSQLError. createCommunicationsException(JdbcConnection conn, PacketSentTimeHolder packetSentTimeHolder, PacketReceivedTimeHolder packetReceivedTimeHolder, Exception underlyingException, ExceptionInterceptor interceptor)static SQLExceptionSQLError. createCommunicationsException(String message, Throwable underlyingException, ExceptionInterceptor interceptor)static SQLExceptionSQLError. createSQLException(String message, ExceptionInterceptor interceptor)static SQLExceptionSQLError. createSQLException(String message, String sqlState, int vendorErrorCode, boolean isTransient, ExceptionInterceptor interceptor)static SQLExceptionSQLError. createSQLException(String message, String sqlState, int vendorErrorCode, boolean isTransient, Throwable cause, ExceptionInterceptor interceptor)static SQLExceptionSQLError. createSQLException(String message, String sqlState, int vendorErrorCode, ExceptionInterceptor interceptor)static SQLExceptionSQLError. createSQLException(String message, String sqlState, int vendorErrorCode, Throwable cause, ExceptionInterceptor interceptor)static SQLExceptionSQLError. createSQLException(String message, String sqlState, ExceptionInterceptor interceptor)static SQLExceptionSQLError. createSQLException(String message, String sqlState, Throwable cause, ExceptionInterceptor interceptor)static SQLExceptionSQLError. createSQLFeatureNotSupportedException(String message, String sqlState, ExceptionInterceptor interceptor)Create a SQLFeatureNotSupportedException or a NotImplemented exception according to the JDBC version in use.static SQLExceptionSQLExceptionsMapping. translateException(Throwable ex, ExceptionInterceptor interceptor) -
com.mysql.cj.jdbc.ha中ExceptionInterceptor的使用
返回ExceptionInterceptor的com.mysql.cj.jdbc.ha中的方法 修饰符和类型 方法 说明 ExceptionInterceptorMultiHostMySQLConnection. getExceptionInterceptor() -
com.mysql.cj.jdbc.result中ExceptionInterceptor的使用
返回ExceptionInterceptor的com.mysql.cj.jdbc.result中的方法 修饰符和类型 方法 说明 protected ExceptionInterceptorResultSetImpl. getExceptionInterceptor()参数类型为ExceptionInterceptor的com.mysql.cj.jdbc.result中的构造器 构造器 说明 ResultSetMetaData(Session session, Field[] fields, boolean useOldAliasBehavior, boolean treatYearAsDate, ExceptionInterceptor exceptionInterceptor)Initialize for a result with a tuple set and a field descriptor set -
com.mysql.cj.protocol中ExceptionInterceptor的使用
声明为ExceptionInterceptor的com.mysql.cj.protocol中的字段 修饰符和类型 字段 说明 protected ExceptionInterceptorAbstractProtocol. exceptionInterceptorprotected ExceptionInterceptorAbstractSocketConnection. exceptionInterceptor返回ExceptionInterceptor的com.mysql.cj.protocol中的方法 修饰符和类型 方法 说明 ExceptionInterceptorAbstractProtocol. getExceptionInterceptor()ExceptionInterceptorAbstractSocketConnection. getExceptionInterceptor()ExceptionInterceptorProtocol. getExceptionInterceptor()ExceptionInterceptorSocketConnection. getExceptionInterceptor()参数类型为ExceptionInterceptor的com.mysql.cj.protocol中的方法 修饰符和类型 方法 说明 voidSocketConnection. connect(String host, int port, PropertySet propertySet, ExceptionInterceptor exceptionInterceptor, Log log, int loginTimeout)Connect to the MySQL server and setup a stream connection.static SSLContextExportControlled. getSSLContext(com.mysql.cj.protocol.ExportControlled.KeyStoreConf clientCertificateKeyStore, com.mysql.cj.protocol.ExportControlled.KeyStoreConf trustCertificateKeyStore, boolean fallbackToDefaultTrustStore, boolean verifyServerCert, String hostName, ExceptionInterceptor exceptionInterceptor)Configure theSSLContextbased on the supplier property set.voidAuthenticationProvider. init(Protocol<M> prot, PropertySet propertySet, ExceptionInterceptor exceptionInterceptor)voidValueEncoder. init(PropertySet pset, ServerSession serverSession, ExceptionInterceptor exceptionInterceptor) -
com.mysql.cj.protocol.a中ExceptionInterceptor的使用
声明为ExceptionInterceptor的com.mysql.cj.protocol.a中的字段 修饰符和类型 字段 说明 protected ExceptionInterceptorAbstractRowFactory. exceptionInterceptorprotected ExceptionInterceptorAbstractValueEncoder. exceptionInterceptor返回ExceptionInterceptor的com.mysql.cj.protocol.a中的方法 修饰符和类型 方法 说明 ExceptionInterceptorNativeAuthenticationProvider. getExceptionInterceptor()参数类型为ExceptionInterceptor的com.mysql.cj.protocol.a中的方法 修饰符和类型 方法 说明 voidNativeSocketConnection. connect(String hostName, int portNumber, PropertySet propSet, ExceptionInterceptor excInterceptor, Log log, int loginTimeout)voidAbstractValueEncoder. init(PropertySet pset, ServerSession serverSess, ExceptionInterceptor excInterceptor)voidByteArrayValueEncoder. init(PropertySet pset, ServerSession serverSess, ExceptionInterceptor excInterceptor)voidNativeAuthenticationProvider. init(Protocol<NativePacketPayload> prot, PropertySet propSet, ExceptionInterceptor excInterceptor)voidStringValueEncoder. init(PropertySet pset, ServerSession serverSess, ExceptionInterceptor excInterceptor) -
com.mysql.cj.protocol.a.authentication中ExceptionInterceptor的使用
参数类型为ExceptionInterceptor的com.mysql.cj.protocol.a.authentication中的方法 修饰符和类型 方法 说明 protected static StringSha256PasswordPlugin. readRSAKey(String pkPath, PropertySet propertySet, ExceptionInterceptor exceptionInterceptor) -
com.mysql.cj.protocol.a.result中ExceptionInterceptor的使用
参数类型为ExceptionInterceptor的com.mysql.cj.protocol.a.result中的构造器 构造器 说明 AbstractBufferRow(ExceptionInterceptor exceptionInterceptor)BinaryBufferRow(NativePacketPayload buf, ColumnDefinition cd, ExceptionInterceptor exceptionInterceptor, ValueDecoder valueDecoder)ByteArrayRow(byte[][] internalRowData, ExceptionInterceptor exceptionInterceptor)ByteArrayRow(byte[][] internalRowData, ExceptionInterceptor exceptionInterceptor, ValueDecoder valueDecoder)TextBufferRow(NativePacketPayload buf, ColumnDefinition cd, ExceptionInterceptor exceptionInterceptor, ValueDecoder valueDecoder) -
com.mysql.cj.protocol.result中ExceptionInterceptor的使用
声明为ExceptionInterceptor的com.mysql.cj.protocol.result中的字段 修饰符和类型 字段 说明 protected ExceptionInterceptorAbstractResultsetRow. exceptionInterceptor参数类型为ExceptionInterceptor的com.mysql.cj.protocol.result中的构造器 构造器 说明 AbstractResultsetRow(ExceptionInterceptor exceptionInterceptor) -
com.mysql.cj.protocol.x中ExceptionInterceptor的使用
返回ExceptionInterceptor的com.mysql.cj.protocol.x中的方法 修饰符和类型 方法 说明 ExceptionInterceptorXProtocol. getExceptionInterceptor()参数类型为ExceptionInterceptor的com.mysql.cj.protocol.x中的方法 修饰符和类型 方法 说明 voidXAuthenticationProvider. init(Protocol<XMessage> prot, PropertySet propertySet, ExceptionInterceptor exceptionInterceptor) -
com.mysql.cj.util中ExceptionInterceptor的使用
参数类型为ExceptionInterceptor的com.mysql.cj.util中的方法 修饰符和类型 方法 说明 static StringTimeUtil. getCanonicalTimeZone(String timezoneStr, ExceptionInterceptor exceptionInterceptor)Returns the 'official' Java timezone name for the given timezonestatic ObjectUtil. getInstance(String className, Class<?>[] argTypes, Object[] args, ExceptionInterceptor exceptionInterceptor)static ObjectUtil. getInstance(String className, Class<?>[] argTypes, Object[] args, ExceptionInterceptor exceptionInterceptor, String errorMessage)static ObjectUtil. handleNewInstance(Constructor<?> ctor, Object[] args, ExceptionInterceptor exceptionInterceptor)Handles constructing new instance with the given constructor and wrapping (or not, as required) the exceptions that could possibly be generatedstatic <T> List<T>Util. loadClasses(String extensionClassNames, String errorMessageKey, ExceptionInterceptor exceptionInterceptor)static intUtil. readBlock(InputStream i, byte[] b, int length, ExceptionInterceptor exceptionInterceptor)static intUtil. readBlock(InputStream i, byte[] b, ExceptionInterceptor exceptionInterceptor)
-