public class StandardSQLExceptionConverter extends Object implements SQLExceptionConverter
| Constructor and Description | 
|---|
StandardSQLExceptionConverter()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addDelegate(SQLExceptionConversionDelegate delegate)  | 
JDBCException | 
convert(SQLException sqlException,
       String message,
       String sql)
Convert the given SQLException into the Hibernate  
JDBCException hierarchy. | 
public void addDelegate(SQLExceptionConversionDelegate delegate)
public JDBCException convert(SQLException sqlException, String message, String sql)
SQLExceptionConverterJDBCException hierarchy.convert in interface SQLExceptionConvertersqlException - The SQLException to be converted.message - An optional error message., JDBCConnectionException, SQLGrammarException, LockAcquisitionExceptionCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.