Class ConnectionFeatureNotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.mysql.jdbc.CommunicationsException
com.mysql.jdbc.ConnectionFeatureNotAvailableException
- All Implemented Interfaces:
StreamingNotifiable, Serializable, Iterable<Throwable>
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConnectionFeatureNotAvailableException(MySQLConnection conn, long lastPacketSentTimeMs, Exception underlyingException) -
Method Summary
Methods inherited from class CommunicationsException
setWasStreamingResultsMethods inherited from class SQLException
getErrorCode, getNextException, iterator, setNextExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ConnectionFeatureNotAvailableException
public ConnectionFeatureNotAvailableException(MySQLConnection conn, long lastPacketSentTimeMs, Exception underlyingException) - Parameters:
conn-lastPacketSentTimeMs-underlyingException-
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classCommunicationsException
-
getSQLState
- Overrides:
getSQLStatein classCommunicationsException
-