/** * Translate the given {@link DriverException} into a generic {@link DataAccessException}. * * @param task readable text describing the task being attempted * @param cql CQL query or update that caused the problem (may be {@literal null}) * @param driverException the offending {@code RuntimeException}. * @return the exception translation {@link Function} * @see CqlProvider */ protected DataAccessException translateException(String task, @Nullable String cql, DriverException driverException) { return translate(task, cql, driverException); }