org.hibernate.exception
Class JDBCConnectionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.hibernate.exception.NestableRuntimeException
                  extended byorg.hibernate.HibernateException
                      extended byorg.hibernate.JDBCException
                          extended byorg.hibernate.exception.JDBCConnectionException
All Implemented Interfaces:
Nestable, Serializable

public class JDBCConnectionException
extends JDBCException

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

Author:
Steve Ebersole
See Also:
Serialized Form

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)
           
 
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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDBCConnectionException

public JDBCConnectionException(String string,
                               SQLException root)

JDBCConnectionException

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