org.hibernate.dialect.resolver
Class BasicSQLExceptionConverter
java.lang.Object
org.hibernate.dialect.resolver.BasicSQLExceptionConverter
public class BasicSQLExceptionConverter
- extends Object
A helper to centralize conversion of SQLException
s to JDBCException
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final BasicSQLExceptionConverter INSTANCE
MSG
public static final String MSG
BasicSQLExceptionConverter
public BasicSQLExceptionConverter()
convert
public JDBCException convert(SQLException sqlException)
- Perform a conversion.
- Parameters:
sqlException
- The exception to convert.
- Returns:
- The converted exception.
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.