spring-framework / org.springframework.dao / QueryTimeoutException

QueryTimeoutException

open class QueryTimeoutException : TransientDataAccessException

Exception to be thrown on a query timeout. This could have different causes depending on the database API in use but most likely thrown after the database interrupts or stops the processing of a query before it has completed.

This exception can be thrown by user code trapping the native database exception or by exception translation.

Author
Thomas Risberg

Since
3.1

Constructors

<init>

QueryTimeoutException(msg: String)
QueryTimeoutException(msg: String, cause: Throwable)

Constructor for QueryTimeoutException.