Package org.hibernate
Class QueryTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.JDBCException
org.hibernate.QueryTimeoutException
- All Implemented Interfaces:
Serializable
Thrown when a database query timeout occurs.
- See Also:
-
Constructor Summary
ConstructorDescriptionQueryTimeoutException
(String message, SQLException sqlException, String sql) Constructs aQueryTimeoutException
using the supplied information. -
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 Details
-
QueryTimeoutException
Constructs aQueryTimeoutException
using the supplied information.- Parameters:
message
- The message explaining the exception conditionsqlException
- The underlying SQLExceptionsql
- The sql being executed when the exception occurred.
-