Package com.querydsl.sql
Class DefaultSQLExceptionTranslator
java.lang.Object
com.querydsl.sql.DefaultSQLExceptionTranslator
- All Implemented Interfaces:
SQLExceptionTranslator
Default implementation of the
SQLExceptionTranslator interface- Author:
- tiwe
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontranslate(String sql, List<Object> bindings, SQLException e) Translate the given SQLExceptionTranslate the given SQLException
-
Field Details
-
DEFAULT
-
-
Method Details
-
translate
Description copied from interface:SQLExceptionTranslatorTranslate the given SQLException- Specified by:
translatein interfaceSQLExceptionTranslator- Parameters:
e- SQLException to translate- Returns:
- translated exception
-
translate
Description copied from interface:SQLExceptionTranslatorTranslate the given SQLException- Specified by:
translatein interfaceSQLExceptionTranslator- Parameters:
sql- SQL stringbindings- bindinge- SQLException to translate- Returns:
- translated exception
-