1 25 package com.mysql.jdbc; 26 27 37 public class ConnectionFeatureNotAvailableException extends 38 CommunicationsException { 39 40 45 public ConnectionFeatureNotAvailableException(Connection conn, 46 long lastPacketSentTimeMs, Exception underlyingException) { 47 super(conn, lastPacketSentTimeMs, underlyingException); 48 } 49 50 55 public String getMessage() { 56 return "Feature not available in this distribution of Connector/J"; 57 } 58 59 64 public String getSQLState() { 65 return SQLError.SQL_STATE_INVALID_CONNECTION_ATTRIBUTE; 66 } 67 } 68 | Popular Tags |