Package org.hibernate
Class QueryTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.JDBCException
-
- org.hibernate.QueryTimeoutException
-
- All Implemented Interfaces:
java.io.Serializable
public class QueryTimeoutException extends JDBCException
Thrown when a database query timeout occurs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryTimeoutException(java.lang.String message, java.sql.SQLException sqlException, java.lang.String sql)
Constructs a QueryTimeoutException using the supplied information.
-
Method Summary
-
Methods inherited from class org.hibernate.JDBCException
getErrorCode, getSQL, getSQLException, getSQLState
-
-
-
-
Constructor Detail
-
QueryTimeoutException
public QueryTimeoutException(java.lang.String message, java.sql.SQLException sqlException, java.lang.String sql)
Constructs a QueryTimeoutException using the supplied information.- Parameters:
message
- The message explaining the exception conditionsqlException
- The underlying SQLExceptionsql
- The sql being executed when the exception occurred.
-
-