Package org.hibernate.exception
Class JDBCConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.JDBCException
-
- org.hibernate.exception.JDBCConnectionException
-
- All Implemented Interfaces:
Serializable
public class JDBCConnectionException extends JDBCException
AJDBCException
indicating a problem communicating with the database (can also include incorrect JDBC setup).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JDBCConnectionException(String string, SQLException root)
JDBCConnectionException(String string, SQLException root, String sql)
-
Method Summary
-
Methods inherited from class org.hibernate.JDBCException
getErrorCode, getErrorMessage, getSQL, getSQLException, getSQLState
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JDBCConnectionException
public JDBCConnectionException(String string, SQLException root)
-
JDBCConnectionException
public JDBCConnectionException(String string, SQLException root, String sql)
-
-