message, sqlState,
Constants.integerValueOf(vendorErrorCode) }, interceptor);
}
} else if (sqlState.startsWith("22")) {
if (!Util.isJdbc4()) {
sqlEx = new MySQLDataException(message, sqlState,
vendorErrorCode);
} else {
sqlEx = (SQLException) Util
.getInstance(
"com.mysql.jdbc.exceptions.jdbc4.MySQLDataException",