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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator