public interface SQLExceptionConversionDelegate
SQLExceptionConverter to work by chaining together multiple such delegates. The main
difference between a delegate and a full-fledged converter is that a delegate may return null.| Modifier and Type | Method and Description |
|---|---|
JDBCException |
convert(SQLException sqlException,
String message,
String sql)
Convert the given SQLException into the Hibernate
JDBCException hierarchy. |
JDBCException convert(SQLException sqlException, String message, String sql)
JDBCException hierarchy.sqlException - The SQLException to be converted.message - An (optional) error message.sql - The SQL statement, if one, being performed when the exception occurred.nullCopyright © 2017 JBoss by Red Hat. All rights reserved.