程序包 org.hibernate
类 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
-
- 所有已实现的接口:
Serializable
public class QueryTimeoutException extends JDBCException
Thrown when a database query timeout occurs.- 作者:
- Scott Marlow
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 QueryTimeoutException(String message, SQLException sqlException, String sql)Constructs a QueryTimeoutException using the supplied information.
-
方法概要
-
从类继承的方法 org.hibernate.JDBCException
getErrorCode, getSQL, getSQLException, getSQLState
-
-
-
-
构造器详细资料
-
QueryTimeoutException
public QueryTimeoutException(String message, SQLException sqlException, String sql)
Constructs a QueryTimeoutException using the supplied information.- 参数:
message- The message explaining the exception conditionsqlException- The underlying SQLExceptionsql- The sql being executed when the exception occurred.
-
-