类 ConnectionFeatureNotAvailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- java.sql.SQLRecoverableException
-
- com.mysql.cj.jdbc.exceptions.CommunicationsException
-
- com.mysql.cj.jdbc.exceptions.ConnectionFeatureNotAvailableException
-
- 所有已实现的接口:
StreamingNotifiable,Serializable,Iterable<Throwable>
public class ConnectionFeatureNotAvailableException extends CommunicationsException
Thrown when a client requests a connection-level feature that isn't available for this particular distribution of Connector/J (currently only used by code that is export-controlled).- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ConnectionFeatureNotAvailableException(JdbcConnection conn, PacketSentTimeHolder packetSentTimeHolder, Exception underlyingException)ConnectionFeatureNotAvailableException(String message, Throwable underlyingException)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetMessage()StringgetSQLState()-
从类继承的方法 com.mysql.cj.jdbc.exceptions.CommunicationsException
setWasStreamingResults
-
从类继承的方法 java.sql.SQLException
getErrorCode, getNextException, iterator, setNextException
-
从类继承的方法 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
-
-
-
构造器详细资料
-
ConnectionFeatureNotAvailableException
public ConnectionFeatureNotAvailableException(JdbcConnection conn, PacketSentTimeHolder packetSentTimeHolder, Exception underlyingException)
-
-
方法详细资料
-
getMessage
public String getMessage()
- 覆盖:
getMessage在类中CommunicationsException
-
getSQLState
public String getSQLState()
- 覆盖:
getSQLState在类中CommunicationsException
-
-