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 givenSQLException
to a subtype ofJDBCException
.
-
Constructor Details
-
StandardSQLExceptionConverter
-
-
Method Details
-
convert
Description copied from interface:SQLExceptionConverter
Convert the givenSQLException
to a subtype ofJDBCException
.- Specified by:
convert
in interfaceSQLExceptionConverter
- Parameters:
sqlException
- TheSQLException
to be convertedmessage
- An optional error messagesql
- The SQL statement that resulted in the exception- Returns:
- The resulting
JDBCException
. - See Also:
-