com.mysql.jdbc
Class ConnectionFeatureNotAvailableException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.sql.SQLException
              extended bycom.mysql.jdbc.CommunicationsException
                  extended bycom.mysql.jdbc.ConnectionFeatureNotAvailableException
All Implemented Interfaces:
java.io.Serializable

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

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
ConnectionFeatureNotAvailableException(Connection conn, long lastPacketSentTimeMs, java.lang.Exception underlyingException)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String getSQLState()
           
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionFeatureNotAvailableException

public ConnectionFeatureNotAvailableException(Connection conn,
                                              long lastPacketSentTimeMs,
                                              java.lang.Exception underlyingException)
Parameters:
conn -
lastPacketSentTimeMs -
underlyingException -
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class CommunicationsException

getSQLState

public java.lang.String getSQLState()
Overrides:
getSQLState in class CommunicationsException