Package org.hibernate
Class QueryTimeoutException
- All Implemented Interfaces:
Serializable
A
JDBCException indicating that a database query timed out on the database.Constructor Summary
ConstructorsConstructorDescriptionQueryTimeoutException(String message,SQLException sqlException,String sql) Constructs aQueryTimeoutExceptionusing the supplied information.Method Summary
Methods inherited from class org.hibernate.JDBCException
getErrorCode,getErrorMessage,getSQL,getSQLException,getSQLStateMethods inherited from class java.lang.Throwable
addSuppressed,fillInStackTrace,getCause,getLocalizedMessage,getMessage,getStackTrace,getSuppressed,initCause,printStackTrace,printStackTrace,printStackTrace,setStackTrace,toString
Constructor Details
QueryTimeoutException
Constructs aQueryTimeoutExceptionusing the supplied information.- Parameters:
message- The message explaining the exception conditionsqlException- The underlying SQLExceptionsql- The sql being executed when the exception occurred.