public final class DefaultSQLExceptionTranslator extends Object implements SQLExceptionTranslator
Modifier and Type | Field and Description |
---|---|
static SQLExceptionTranslator |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
RuntimeException |
translate(SQLException e) |
RuntimeException |
translate(String sql,
List<Object> bindings,
SQLException e) |
public static final SQLExceptionTranslator DEFAULT
public RuntimeException translate(SQLException e)
translate
in interface SQLExceptionTranslator
public RuntimeException translate(String sql, List<Object> bindings, SQLException e)
translate
in interface SQLExceptionTranslator
Copyright © 2007–2015 Mysema Ltd. All rights reserved.