Package org.hibernate.exception
Class GenericJDBCException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.JDBCException
-
- org.hibernate.exception.GenericJDBCException
-
- All Implemented Interfaces:
Serializable
public class GenericJDBCException extends JDBCException
Generic, non-specific flavor ofJDBCException
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GenericJDBCException(String string, SQLException root)
GenericJDBCException(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
-
GenericJDBCException
public GenericJDBCException(String string, SQLException root)
-
GenericJDBCException
public GenericJDBCException(String string, SQLException root, String sql)
-
-