Package org.hibernate.exception.internal
Class StandardSQLExceptionConverter
java.lang.Object
org.hibernate.exception.internal.StandardSQLExceptionConverter
- All Implemented Interfaces:
Serializable,SQLExceptionConverter
A
SQLExceptionConverter that delegates to a chain of
SQLExceptionConversionDelegate.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(SQLException sqlException, String message, String sql) Convert the givenSQLExceptionto a subtype ofJDBCException.
-
Constructor Details
-
StandardSQLExceptionConverter
-
-
Method Details
-
convert
Description copied from interface:SQLExceptionConverterConvert the givenSQLExceptionto a subtype ofJDBCException.- Specified by:
convertin interfaceSQLExceptionConverter- Parameters:
sqlException- TheSQLExceptionto be convertedmessage- An optional error messagesql- The SQL statement that resulted in the exception- Returns:
- The resulting
JDBCException. - See Also:
-