org.hibernate.exception

Class JDBCConnectionException

Implemented Interfaces:
Nestable

public class JDBCConnectionException
extends JDBCException

Implementation of JDBCException indicating problems with communicating with the database (can also include incorrect JDBC setup).
Author:
Steve Ebersole

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

JDBCConnectionException(String string, SQLException root)
JDBCConnectionException(String string, SQLException root, String sql)

Method Summary

Methods inherited from class org.hibernate.JDBCException

getErrorCode, getSQL, getSQLException, getSQLState

Methods inherited from class org.hibernate.exception.NestableRuntimeException

getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace

Constructor Details

JDBCConnectionException

public JDBCConnectionException(String string,
                               SQLException root)

JDBCConnectionException

public JDBCConnectionException(String string,
                               SQLException root,
                               String sql)