org.hibernate.exception.internal
Class StandardSQLExceptionConverter
java.lang.Object
org.hibernate.exception.internal.StandardSQLExceptionConverter
- All Implemented Interfaces:
- Serializable, SQLExceptionConverter
- Direct Known Subclasses:
- SQLStateConverter
public class StandardSQLExceptionConverter
- extends Object
- implements SQLExceptionConverter
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardSQLExceptionConverter
public StandardSQLExceptionConverter()
addDelegate
public void addDelegate(SQLExceptionConversionDelegate delegate)
convert
public JDBCException convert(SQLException sqlException,
String message,
String sql)
- Description copied from interface:
SQLExceptionConverter
- Convert the given SQLException into the Hibernate
JDBCException
hierarchy.
- Specified by:
convert
in interface SQLExceptionConverter
- Parameters:
sqlException
- The SQLException to be converted.message
- An optional error message.
- Returns:
- The resulting JDBCException.
- See Also:
, JDBCConnectionException, SQLGrammarException, LockAcquisitionException
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.