Package org.hibernate
Class QueryTimeoutException
- All Implemented Interfaces:
Serializable
public classQueryTimeoutExceptionextendsJDBCException
Thrown when a database query timeout occurs.- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description QueryTimeoutException(String message,SQLException sqlException,String sql)Constructs aQueryTimeoutExceptionusing 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 Detail
QueryTimeoutException
public QueryTimeoutException(String message,SQLException sqlException,String sql)
Constructs aQueryTimeoutExceptionusing the supplied information.- Parameters:
message- The message explaining the exception conditionsqlException- The underlying SQLExceptionsql- The sql being executed when the exception occurred.