Package com.mysql.cj.jdbc.exceptions
Class 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
- All Implemented Interfaces:
StreamingNotifiable
,java.io.Serializable
,java.lang.Iterable<java.lang.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).
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ConnectionFeatureNotAvailableException(JdbcConnection conn, PacketSentTimeHolder packetSentTimeHolder, java.lang.Exception underlyingException)
ConnectionFeatureNotAvailableException(java.lang.String message, java.lang.Throwable underlyingException)
-
Method Summary
Modifier and Type Method Description java.lang.String
getMessage()
java.lang.String
getSQLState()
Methods inherited from class com.mysql.cj.jdbc.exceptions.CommunicationsException
setWasStreamingResults
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, iterator, setNextException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectionFeatureNotAvailableException
public ConnectionFeatureNotAvailableException(JdbcConnection conn, PacketSentTimeHolder packetSentTimeHolder, java.lang.Exception underlyingException) -
ConnectionFeatureNotAvailableException
public ConnectionFeatureNotAvailableException(java.lang.String message, java.lang.Throwable underlyingException)
-
-
Method Details
-
getMessage
public java.lang.String getMessage()- Overrides:
getMessage
in classCommunicationsException
-
getSQLState
public java.lang.String getSQLState()- Overrides:
getSQLState
in classCommunicationsException
-