public final class DefaultSQLExceptionTranslator extends Object implements SQLExceptionTranslator
SQLExceptionTranslator interface| Modifier and Type | Field and Description |
|---|---|
static SQLExceptionTranslator |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
RuntimeException |
translate(SQLException e)
Translate the given SQLException
|
RuntimeException |
translate(String sql,
List<Object> bindings,
SQLException e)
Translate the given SQLException
|
public static final SQLExceptionTranslator DEFAULT
public RuntimeException translate(SQLException e)
SQLExceptionTranslatortranslate in interface SQLExceptionTranslatore - SQLException to translatepublic RuntimeException translate(String sql, List<Object> bindings, SQLException e)
SQLExceptionTranslatortranslate in interface SQLExceptionTranslatorsql - SQL stringbindings - bindinge - SQLException to translateCopyright © 2007–2015 Mysema Ltd. All rights reserved.