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