org.hibernate.exception
Class JDBCConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.hibernate.exception.NestableRuntimeException
                  extended by org.hibernate.HibernateException
                      extended by org.hibernate.JDBCException
                          extended by org.hibernate.exception.JDBCConnectionException
All Implemented Interfaces:
java.io.Serializable, 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
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hibernate.exception.NestableRuntimeException
delegate
 
Constructor Summary
JDBCConnectionException(java.lang.String string, java.sql.SQLException root)
           
JDBCConnectionException(java.lang.String string, java.sql.SQLException root, java.lang.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
 
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(java.lang.String string,
                               java.sql.SQLException root)

JDBCConnectionException

public JDBCConnectionException(java.lang.String string,
                               java.sql.SQLException root,
                               java.lang.String sql)


Copyright © 2008 Hibernate.org. All Rights Reserved.