public interface SQLExceptionTranslator
SQLExceptionTranslator
translate SQLExceptions to runtime exceptionsModifier 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
|
RuntimeException translate(String sql, List<Object> bindings, SQLException e)
sql
- SQL stringbindings
- bindinge
- SQLException to translateRuntimeException translate(SQLException e)
e
- SQLException to translateCopyright © 2007–2016 Querydsl. All rights reserved.