@Override
    public RuntimeException translate(SQLException e) {
        return translator.translate(null, null, e);
    }
{@code SpringExceptionTranslator} is an {@link SQLExceptionTranslator} implementation which uses Spring's
exception translation functionality internally

<p>Usage example</p>
<pre>
{@code
Configuration configuration = new Configuration(templates);
configuration.setExceptionTranslator(new SpringExceptionTranslator());
}
</pre>
querydsl-sql-spring/src/main/java/com/querydsl/sql/spring/SpringExceptionTranslator.java